| Index: Source/platform/mac/ThemeMac.mm
|
| diff --git a/Source/platform/mac/ThemeMac.mm b/Source/platform/mac/ThemeMac.mm
|
| index a53db21a8d9a27baf96b12c17bc1d9d33f140d1c..5218678ef87b1eac58840c2a9c3383cd368220ad 100644
|
| --- a/Source/platform/mac/ThemeMac.mm
|
| +++ b/Source/platform/mac/ThemeMac.mm
|
| @@ -57,18 +57,6 @@
|
|
|
| @end
|
|
|
| -@implementation NSFont (WebCoreTheme)
|
| -
|
| -- (NSString*)webCoreFamilyName
|
| -{
|
| - if ([[self familyName] hasPrefix:@"."])
|
| - return [self fontName];
|
| -
|
| - return [self familyName];
|
| -}
|
| -
|
| -@end
|
| -
|
| namespace blink {
|
|
|
| Theme* platformTheme()
|
| @@ -558,7 +546,7 @@ FontDescription ThemeMac::controlFont(ControlPart part, const FontDescription& f
|
| result.setGenericFamily(FontDescription::SerifFamily);
|
|
|
| NSFont* nsFont = [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:controlSizeForFont(fontDescription)]];
|
| - result.firstFamily().setFamily([nsFont webCoreFamilyName]);
|
| + result.firstFamily().setFamily(@"BlinkMacSystemFont");
|
| result.setComputedSize([nsFont pointSize] * zoomFactor);
|
| result.setSpecifiedSize([nsFont pointSize] * zoomFactor);
|
| return result;
|
|
|