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

Unified Diff: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h

Issue 2289113002: WebFonts: classify memory cache hit case in WebFont.CacheHit metric (Closed)
Patch Set: fix condition check order to classify correctly Created 4 years, 4 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 | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
diff --git a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
index edcfdc5d8acfe05ed01188a4078de5d5d2dc8586..6bb1e5fc6f1c1bf59bd20ebfb55e6217406994ab 100644
--- a/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
+++ b/third_party/WebKit/Source/core/css/RemoteFontFaceSource.h
@@ -67,7 +67,7 @@ private:
void fontLoaded(bool isInterventionTriggered, bool isLoadedFromNetwork);
void longLimitExceeded(bool isInterventionTriggered);
void recordFallbackTime(const FontResource*);
- void recordRemoteFont(const FontResource*);
+ void recordRemoteFont(const FontResource*, bool isLoadedFromMemoryCache);
bool hadBlankText() { return m_blankPaintTime; }
private:
void recordLoadTimeHistogram(const FontResource*, int duration);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698