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

Unified Diff: third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp

Issue 2294433002: s/s_fontManager/s_staticFontManager/ to help rewrite_to_chrome_style tool. (Closed)
Patch Set: Created 4 years, 4 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/linux/FontCacheLinux.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp
index 6b57d8532d45191b5c74c07db724d0feb0661ef1..e024a3cef89421da36d85e0c76d3bfa61005a557 100644
--- a/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp
+++ b/third_party/WebKit/Source/platform/fonts/linux/FontCacheLinux.cpp
@@ -37,9 +37,9 @@ namespace blink {
FontCache::FontCache()
: m_purgePreventCount(0)
{
- if (s_fontManager) {
- adopted(s_fontManager);
- m_fontManager = s_fontManager;
+ if (s_staticFontManager) {
+ adopted(s_staticFontManager);
+ m_fontManager = s_staticFontManager;
} else {
m_fontManager = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698