Chromium Code Reviews| Index: Source/platform/fonts/mac/FontFamilyMatcherMac.h |
| diff --git a/Source/platform/fonts/mac/FontFamilyMatcherMac.h b/Source/platform/fonts/mac/FontFamilyMatcherMac.h |
| index 1a41029c6db1511be4dca9553754febee4bb95fc..be7a951062ff6a2444f7d201d9bd85e5e05376f1 100644 |
| --- a/Source/platform/fonts/mac/FontFamilyMatcherMac.h |
| +++ b/Source/platform/fonts/mac/FontFamilyMatcherMac.h |
| @@ -27,13 +27,17 @@ |
| #ifndef FontFamilyMatcherMac_h |
| #define FontFamilyMatcherMac_h |
| +#include "platform/PlatformExport.h" |
| +#include "platform/fonts/FontTraits.h" |
| #include <AppKit/NSFontManager.h> |
| namespace blink { |
| -NSFont* MatchNSFontFamily(NSString* desiredFamily, NSFontTraitMask desiredTraits, |
| - int desiredWeight, float size); |
| +PLATFORM_EXPORT NSFont* MatchNSFontFamily(NSString* desiredFamily, NSFontTraitMask desiredTraits, |
| + FontWeight desiredWeight, float size); |
| +// Converts a blink::FontWeight to an AppKit font weight. |
| +int ToAppKitFontWeight(FontWeight); |
|
tkent
2015/08/11 01:34:36
To -> to
erikchen
2015/08/11 05:21:13
Done.
|
| } |
| #endif // FontFamilyMatcherMac_h |