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

Unified Diff: third_party/WebKit/WebCore/platform/graphics/mac/FontCacheMac.mm

Issue 56198: Roll out dominantScript, getGenericFontForScript patches to unfork a bunch of... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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
Index: third_party/WebKit/WebCore/platform/graphics/mac/FontCacheMac.mm
===================================================================
--- third_party/WebKit/WebCore/platform/graphics/mac/FontCacheMac.mm (revision 13094)
+++ third_party/WebKit/WebCore/platform/graphics/mac/FontCacheMac.mm (working copy)
@@ -38,10 +38,6 @@
#import <AppKit/AppKit.h>
#import <wtf/StdLibExtras.h>
-#if PLATFORM(CHROMIUM)
-#include "ChromiumBridge.h"
-#endif
-
#ifdef BUILDING_ON_TIGER
typedef int NSInteger;
#endif
@@ -203,17 +199,4 @@
return new FontPlatformData(platformFont, syntheticBold, syntheticOblique);
}
-// TODO(jungshik): This may not be the best place to put this function. See FontCache.h.
-AtomicString FontCache::getGenericFontForScript(UScriptCode script, const FontDescription& description)
-{
-#if PLATFORM(CHROMIUM)
- if (ChromiumBridge::layoutTestMode())
- return emptyAtom;
-#endif
- // TODO(pinkerton) -- flesh this out with some script handling code
- return emptyAtom;
-}
-
} // namespace WebCore
-
-

Powered by Google App Engine
This is Rietveld 408576698