Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Unified Diff: content/ppapi_plugin/ppapi_webkitclient_impl.cc

Issue 7566038: [Mac] Remove old version of loadFont() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/ppapi_webkitclient_impl.cc
diff --git a/content/ppapi_plugin/ppapi_webkitclient_impl.cc b/content/ppapi_plugin/ppapi_webkitclient_impl.cc
index 059e7228e46ef30e1fcbac19aeeffa5c00ed458c..d5f5de2bb90508814d64e53bce18cb1bd6248b76 100644
--- a/content/ppapi_plugin/ppapi_webkitclient_impl.cc
+++ b/content/ppapi_plugin/ppapi_webkitclient_impl.cc
@@ -33,8 +33,6 @@ class PpapiWebKitClientImpl::SandboxSupport : public WebSandboxSupport {
#if defined(OS_WIN)
virtual bool ensureFontLoaded(HFONT);
#elif defined(OS_MACOSX)
- // TODO(jeremy): Remove once WebKit side of patch lands - crbug.com/72727 .
- virtual bool loadFont(NSFont* srcFont, ATSFontContainerRef* out);
virtual bool loadFont(
NSFont* srcFont, ATSFontContainerRef* out, uint32_t* fontID);
#elif defined(OS_POSIX)
@@ -66,15 +64,6 @@ bool PpapiWebKitClientImpl::SandboxSupport::ensureFontLoaded(HFONT font) {
#elif defined(OS_MACOSX)
-// TODO(jeremy): Remove once WebKit side of patch lands - crbug.com/72727 .
-bool PpapiWebKitClientImpl::SandboxSupport::loadFont(NSFont* srcFont,
- ATSFontContainerRef* out) {
- // TODO(brettw) this should do the something similar to what
- // RendererWebKitClientImpl does and request that the browser load the font.
- NOTIMPLEMENTED();
- return false;
-}
-
bool PpapiWebKitClientImpl::SandboxSupport::loadFont(NSFont* srcFont,
ATSFontContainerRef* out, uint32_t* fontID) {
// TODO(brettw) this should do the something similar to what
« no previous file with comments | « no previous file | content/renderer/renderer_webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698