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

Unified Diff: Source/platform/fonts/FontFallbackList.h

Issue 171823002: Make text visible when font loading takes longer than 3 seconds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 10 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
« no previous file with comments | « Source/platform/fonts/FontData.h ('k') | Source/platform/fonts/FontFallbackList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontFallbackList.h
diff --git a/Source/platform/fonts/FontFallbackList.h b/Source/platform/fonts/FontFallbackList.h
index 6faa1642114f6588af890bea7f73a91383df22b8..dc799a56dabecb308d0e84bcae2274d2be3f9ee2 100644
--- a/Source/platform/fonts/FontFallbackList.h
+++ b/Source/platform/fonts/FontFallbackList.h
@@ -78,6 +78,7 @@ public:
void determinePitch(const FontDescription&) const;
bool loadingCustomFonts() const;
+ bool shouldSkipDrawing() const;
FontSelector* fontSelector() const { return m_fontSelector.get(); }
// FIXME: It should be possible to combine fontSelectorVersion and generation.
@@ -114,7 +115,7 @@ private:
mutable int m_familyIndex;
unsigned short m_generation;
mutable unsigned m_pitch : 3; // Pitch
- mutable bool m_loadingCustomFonts : 1;
+ mutable bool m_hasLoadingFallback : 1;
friend class Font;
};
« no previous file with comments | « Source/platform/fonts/FontData.h ('k') | Source/platform/fonts/FontFallbackList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698