| 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..59df5b6c164a804bee756916d4a4291fc0a6f4da 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);
|
| }
|
|
|
| #endif // FontFamilyMatcherMac_h
|
|
|