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

Unified Diff: Source/platform/fonts/Font.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/CustomFontData.h ('k') | Source/platform/fonts/Font.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/Font.h
diff --git a/Source/platform/fonts/Font.h b/Source/platform/fonts/Font.h
index 6c93603f58d389509ae864e0e363a8f57ae7d7a0..9ac30f6a85d63b0d8e9e22395d7f6d3bdd6e7624 100644
--- a/Source/platform/fonts/Font.h
+++ b/Source/platform/fonts/Font.h
@@ -175,6 +175,11 @@ private:
return m_fontFallbackList && m_fontFallbackList->loadingCustomFonts();
}
+ bool shouldSkipDrawing() const
+ {
+ return m_fontFallbackList && m_fontFallbackList->shouldSkipDrawing();
+ }
+
FontDescription m_fontDescription;
mutable RefPtr<FontFallbackList> m_fontFallbackList;
};
« no previous file with comments | « Source/platform/fonts/CustomFontData.h ('k') | Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698