| Index: Source/core/html/parser/HTMLResourcePreloader.cpp
|
| diff --git a/Source/core/html/parser/HTMLResourcePreloader.cpp b/Source/core/html/parser/HTMLResourcePreloader.cpp
|
| index 1d5317c4775afc56f4b899ef5356754a5f127f82..95f3f14b9e455349bace96284ca95c52e0bf5a68 100644
|
| --- a/Source/core/html/parser/HTMLResourcePreloader.cpp
|
| +++ b/Source/core/html/parser/HTMLResourcePreloader.cpp
|
| @@ -32,8 +32,8 @@
|
| #include "core/html/HTMLImport.h"
|
| #include "core/css/MediaList.h"
|
| #include "core/css/MediaQueryEvaluator.h"
|
| -#include "core/platform/HistogramSupport.h"
|
| #include "core/rendering/RenderObject.h"
|
| +#include "public/platform/Platform.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -93,7 +93,7 @@ void HTMLResourcePreloader::preload(PassOwnPtr<PreloadRequest> preload)
|
| return;
|
|
|
| FetchRequest request = preload->resourceRequest(m_document);
|
| - HistogramSupport::histogramCustomCounts("WebCore.PreloadDelayMs", static_cast<int>(1000 * (monotonicallyIncreasingTime() - preload->discoveryTime())), 0, 2000, 20);
|
| + WebKit::Platform::current()->histogramCustomCounts("WebCore.PreloadDelayMs", static_cast<int>(1000 * (monotonicallyIncreasingTime() - preload->discoveryTime())), 0, 2000, 20);
|
| loadingDocument->fetcher()->preload(preload->resourceType(), request, preload->charset());
|
| }
|
|
|
|
|