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 |
- |
- |