Index: Source/core/css/RemoteFontFaceSource.cpp |
diff --git a/Source/core/css/RemoteFontFaceSource.cpp b/Source/core/css/RemoteFontFaceSource.cpp |
index 732afba214b2d6995c110ee0a6bb7cb8438e9def..6f68e61ac9619288fe64f8cc9d1f668d0f5db6ad 100644 |
--- a/Source/core/css/RemoteFontFaceSource.cpp |
+++ b/Source/core/css/RemoteFontFaceSource.cpp |
@@ -153,7 +153,7 @@ void RemoteFontFaceSource::FontLoadHistograms::recordFallbackTime(const FontReso |
if (m_fallbackPaintTime <= 0) |
return; |
int duration = static_cast<int>(currentTimeMS() - m_fallbackPaintTime); |
- blink::Platform::current()->histogramCustomCounts("WebFont.BlankTextShownTime", duration, 0, 10000, 50); |
+ Platform::current()->histogramCustomCounts("WebFont.BlankTextShownTime", duration, 0, 10000, 50); |
m_fallbackPaintTime = -1; |
} |
@@ -161,18 +161,18 @@ void RemoteFontFaceSource::FontLoadHistograms::recordRemoteFont(const FontResour |
{ |
if (m_loadStartTime > 0 && font && !font->isLoading()) { |
int duration = static_cast<int>(currentTimeMS() - m_loadStartTime); |
- blink::Platform::current()->histogramCustomCounts(histogramName(font), duration, 0, 10000, 50); |
+ Platform::current()->histogramCustomCounts(histogramName(font), duration, 0, 10000, 50); |
m_loadStartTime = -1; |
enum { Miss, Hit, DataUrl, CacheHitEnumMax }; |
int histogramValue = font->url().protocolIsData() ? DataUrl |
: font->response().wasCached() ? Hit |
: Miss; |
- blink::Platform::current()->histogramEnumeration("WebFont.CacheHit", histogramValue, CacheHitEnumMax); |
+ Platform::current()->histogramEnumeration("WebFont.CacheHit", histogramValue, CacheHitEnumMax); |
enum { CORSFail, CORSSuccess, CORSEnumMax }; |
int corsValue = font->isCORSFailed() ? CORSFail : CORSSuccess; |
- blink::Platform::current()->histogramEnumeration("WebFont.CORSSuccess", corsValue, CORSEnumMax); |
+ Platform::current()->histogramEnumeration("WebFont.CORSSuccess", corsValue, CORSEnumMax); |
} |
} |