[Chromium] Change OOP Font loading code to use CGFont*() APIs.
authorjeremy@chromium.org <jeremy@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Sep 2011 03:14:42 +0000 (03:14 +0000)
committerjeremy@chromium.org <jeremy@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Sep 2011 03:14:42 +0000 (03:14 +0000)
commita034b63e084ca3b3f274d1ee450dc6a81b9e8c36
tree94af04f6520451bc1de8160f284efcad0b3ba9bc
parent5a6e2270035d78e632bf5e8cba47247eced157b5
[Chromium] Change OOP Font loading code to use CGFont*() APIs.
https://bugs.webkit.org/show_bug.cgi?id=66935

This change is necessary due a bug in ATSFontDeactivate() on 10.7.
See crbug.com/93191 for details.

Reviewed by Eric Seidel.

Source/WebCore:

No new tests - covered by existing tests.

* platform/chromium/PlatformBridge.h:
* platform/graphics/chromium/CrossProcessFontLoading.h:
* platform/graphics/chromium/CrossProcessFontLoading.mm:
(WebCore::MemoryActivatedFont::create):
(WebCore::MemoryActivatedFont::MemoryActivatedFont):
(WebCore::MemoryActivatedFont::~MemoryActivatedFont):

Source/WebKit/chromium:

* public/mac/WebSandboxSupport.h:
* src/PlatformBridge.cpp:
(WebCore::PlatformBridge::loadFont):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@94936 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/chromium/PlatformSupport.h
Source/WebCore/platform/graphics/chromium/CrossProcessFontLoading.h
Source/WebCore/platform/graphics/chromium/CrossProcessFontLoading.mm
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/public/mac/WebSandboxSupport.h
Source/WebKit/chromium/src/PlatformSupport.cpp