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

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

Issue 180273020: UMA histograms to measure whether / how long blank text is rendered for loading web fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: early return 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/core/css/FontFaceSet.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/CustomFontData.h
diff --git a/Source/platform/fonts/CustomFontData.h b/Source/platform/fonts/CustomFontData.h
index bb642c155fb1dbb4231036b2b0ab0f3f327fb752..40dce7483c96a241e46c46c7a3b5279391f25f87 100644
--- a/Source/platform/fonts/CustomFontData.h
+++ b/Source/platform/fonts/CustomFontData.h
@@ -48,7 +48,7 @@ public:
virtual void beginLoadIfNeeded() const { };
bool isLoading() const { return m_isLoadingFallback && m_isUsed; }
bool isLoadingFallback() const { return m_isLoadingFallback; }
- bool shouldSkipDrawing() const { return m_fallbackVisibility == InvisibleFallback && m_isUsed; }
+ virtual bool shouldSkipDrawing() const { return false; }
virtual bool isSVGFont() const { return false; }
virtual void initializeFontData(SimpleFontData*, float) { }
« no previous file with comments | « Source/core/css/FontFaceSet.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698