| Index: third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp b/third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp
|
| index 59074cf4fd92cc61df1e6559385ba6db74eb038e..2850e17f3105a85c1ab4e182c15521c9e0f6af8c 100644
|
| --- a/third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp
|
| +++ b/third_party/WebKit/Source/core/css/LocalFontFaceSource.cpp
|
| @@ -4,10 +4,10 @@
|
|
|
| #include "core/css/LocalFontFaceSource.h"
|
|
|
| +#include "platform/Histogram.h"
|
| #include "platform/fonts/FontCache.h"
|
| #include "platform/fonts/FontDescription.h"
|
| #include "platform/fonts/SimpleFontData.h"
|
| -#include "public/platform/Platform.h"
|
|
|
| namespace blink {
|
|
|
| @@ -29,7 +29,8 @@ void LocalFontFaceSource::LocalFontHistograms::record(bool loadSuccess)
|
| if (m_reported)
|
| return;
|
| m_reported = true;
|
| - Platform::current()->histogramEnumeration("WebFont.LocalFontUsed", loadSuccess ? 1 : 0, 2);
|
| + DEFINE_THREAD_SAFE_STATIC_LOCAL(EnumerationHistogram, localFontUsedHistogram, new EnumerationHistogram("WebFont.LocalFontUsed", 2));
|
| + localFontUsedHistogram.count(loadSuccess ? 1 : 0);
|
| }
|
|
|
| } // namespace blink
|
|
|