| Index: Source/core/timing/PerformanceUserTiming.cpp
|
| diff --git a/Source/core/timing/PerformanceUserTiming.cpp b/Source/core/timing/PerformanceUserTiming.cpp
|
| index 7600337ce6d1a2a960e346994f303db18ae6be3a..d436560de9293def6e73b53effbf18b999cd99ec 100644
|
| --- a/Source/core/timing/PerformanceUserTiming.cpp
|
| +++ b/Source/core/timing/PerformanceUserTiming.cpp
|
| @@ -31,7 +31,7 @@
|
| #include "core/timing/Performance.h"
|
| #include "core/timing/PerformanceMark.h"
|
| #include "core/timing/PerformanceMeasure.h"
|
| -#include "core/platform/HistogramSupport.h"
|
| +#include "public/platform/Platform.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace WebCore {
|
| @@ -108,7 +108,7 @@ void UserTiming::mark(const String& markName, ExceptionState& es)
|
|
|
| double startTime = m_performance->now();
|
| insertPerformanceEntry(m_marksMap, PerformanceMark::create(markName, startTime));
|
| - HistogramSupport::histogramCustomCounts("PLT.UserTiming_Mark", static_cast<int>(startTime), 0, 600000, 100);
|
| + WebKit::Platform::current()->histogramCustomCounts("PLT.UserTiming_Mark", static_cast<int>(startTime), 0, 600000, 100);
|
| }
|
|
|
| void UserTiming::clearMarks(const String& markName)
|
| @@ -157,7 +157,7 @@ void UserTiming::measure(const String& measureName, const String& startMark, con
|
|
|
| insertPerformanceEntry(m_measuresMap, PerformanceMeasure::create(measureName, startTime, endTime));
|
| if (endTime >= startTime)
|
| - HistogramSupport::histogramCustomCounts("PLT.UserTiming_MeasureDuration", static_cast<int>(endTime - startTime), 0, 600000, 100);
|
| + WebKit::Platform::current()->histogramCustomCounts("PLT.UserTiming_MeasureDuration", static_cast<int>(endTime - startTime), 0, 600000, 100);
|
| }
|
|
|
| void UserTiming::clearMeasures(const String& measureName)
|
|
|