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

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

Issue 1314843009: Add DocumentTiming metrics for "time to first text paint" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/Font.cpp ('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 72f12681a2172c51ea4425e88bfaeeb8a9c60aed..e22324ed386b38eb2e724bfba574377e8c066c80 100644
--- a/Source/platform/fonts/FontFallbackList.h
+++ b/Source/platform/fonts/FontFallbackList.h
@@ -66,6 +66,7 @@ public:
bool isValid() const;
void invalidate(PassRefPtrWillBeRawPtr<FontSelector>);
+ bool hasCustomFont() const { return m_hasCustomFont; }
bool loadingCustomFonts() const;
bool shouldSkipDrawing() const;
@@ -119,6 +120,7 @@ private:
mutable int m_familyIndex;
unsigned short m_generation;
mutable bool m_hasLoadingFallback : 1;
+ mutable bool m_hasCustomFont : 1;
};
} // namespace blink
« no previous file with comments | « Source/platform/fonts/Font.cpp ('k') | Source/platform/fonts/FontFallbackList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698