Index: Source/platform/fonts/win/FontFallbackWin.cpp |
diff --git a/Source/platform/fonts/win/FontFallbackWin.cpp b/Source/platform/fonts/win/FontFallbackWin.cpp |
index 222f64bed7a5b9422b088ce2fe1432eb9eba19e5..a7f5be4cdc1052d3035da781586990baa85dbd20 100644 |
--- a/Source/platform/fonts/win/FontFallbackWin.cpp |
+++ b/Source/platform/fonts/win/FontFallbackWin.cpp |
@@ -286,7 +286,7 @@ const UChar* getFontBasedOnUnicodeBlock(int ucs4, SkFontMgr* fontManager) |
{ |
static const UChar* emojiFonts[] = {L"Segoe UI Emoji", L"Segoe UI Symbol"}; |
static const UChar* symbolFont = L"Segoe UI Symbol"; |
- const UChar* emojiFont = 0; |
+ static const UChar* emojiFont = 0; |
static bool initialized = false; |
if (!initialized) { |
for (size_t i = 0; i < WTF_ARRAY_LENGTH(emojiFonts); i++) { |