Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm

Issue 2809983002: Fix g_k_* symbols after blink rename. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm
diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm
index 7c5876b6b2fa762003c735e9d737b44bf0ee618e..ce91e405d01996c1586ca36bb2a7394e29551fcb 100644
--- a/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm
+++ b/third_party/WebKit/Source/platform/fonts/mac/FontCacheMac.mm
@@ -59,7 +59,7 @@ + (NSFont*)findFontLike:(NSFont*)font
namespace blink {
-const char* g_k_color_emoji_font_mac = "Apple Color Emoji";
+const char kColorEmojiFontMac[] = "Apple Color Emoji";
// static
const AtomicString& FontCache::LegacySystemFontFamily() {
@@ -115,7 +115,7 @@ static inline bool IsAppKitFontWeightBold(NSInteger app_kit_font_weight) {
FontFallbackPriority fallback_priority) {
if (fallback_priority == FontFallbackPriority::kEmojiEmoji) {
RefPtr<SimpleFontData> emoji_font =
- GetFontData(font_description, AtomicString(g_k_color_emoji_font_mac));
+ GetFontData(font_description, AtomicString(kColorEmojiFontMac));
if (emoji_font)
return emoji_font;
}

Powered by Google App Engine
This is Rietveld 408576698