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

Unified Diff: Source/core/css/CSSFontFace.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: 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
Index: Source/core/css/CSSFontFace.h
diff --git a/Source/core/css/CSSFontFace.h b/Source/core/css/CSSFontFace.h
index 82cbce448f18af34e9931be6ea5a3c7445f401d6..4a9c8f16712421e6e9b1e23cbd16312b2947dde6 100644
--- a/Source/core/css/CSSFontFace.h
+++ b/Source/core/css/CSSFontFace.h
@@ -105,6 +105,8 @@ public:
void willUseFontData(const FontDescription&);
void load(const FontDescription&, CSSFontSelector* = 0);
+ bool hadBlankText() { return isValid() && m_sources.first()->hadBlankText(); }
+
private:
void setLoadStatus(FontFace::LoadStatus);

Powered by Google App Engine
This is Rietveld 408576698