Chromium Code Reviews| Index: Source/platform/fonts/win/FontFallbackWin.h |
| diff --git a/Source/platform/fonts/win/FontFallbackWin.h b/Source/platform/fonts/win/FontFallbackWin.h |
| index 1a52c41f75a9423465fced6fa7fa551bdeb839af..75e62187858ad1309fc5b495550788102e1ae260 100644 |
| --- a/Source/platform/fonts/win/FontFallbackWin.h |
| +++ b/Source/platform/fonts/win/FontFallbackWin.h |
| @@ -38,14 +38,9 @@ |
| #include <wchar.h> |
| #include <windows.h> |
| -namespace WebCore { |
| +class SkFontMgr; |
| -// Return a font family that can render |characters| based on |
|
scottmg
2014/04/11 20:48:11
This function appears to be unused, so I just remo
|
| -// what script characters belong to. |
| -// FIXME: This function needs a total overhaul. |
| -PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const UChar* characters, |
| - int length, |
| - FontDescription::GenericFamilyType); |
| +namespace WebCore { |
| // Return a font family that can render |character| based on what script |
| // that characters belong to. |
| @@ -53,7 +48,8 @@ PLATFORM_EXPORT const UChar* getFallbackFamilyForFirstNonCommonCharacter(const U |
| // the family is returned. |
| PLATFORM_EXPORT const UChar* getFallbackFamily(UChar32 character, |
| FontDescription::GenericFamilyType, |
| - UScriptCode* scriptChecked); |
| + UScriptCode* scriptChecked, |
| + SkFontMgr* fontManager); |
| } // namespace WebCore |