| Index: Source/bindings/v8/ScriptController.cpp
|
| diff --git a/Source/bindings/v8/ScriptController.cpp b/Source/bindings/v8/ScriptController.cpp
|
| index 1a472b7a673270e10ccead4dc0ab83fb51b627ff..1cf556266a20f94aca40747ad2b6870ce91bb977 100644
|
| --- a/Source/bindings/v8/ScriptController.cpp
|
| +++ b/Source/bindings/v8/ScriptController.cpp
|
| @@ -66,12 +66,12 @@
|
| #include "core/frame/Frame.h"
|
| #include "core/page/Page.h"
|
| #include "core/page/Settings.h"
|
| -#include "core/platform/HistogramSupport.h"
|
| #include "core/plugins/PluginView.h"
|
| #include "platform/NotImplemented.h"
|
| #include "platform/TraceEvent.h"
|
| #include "platform/UserGestureIndicator.h"
|
| #include "platform/Widget.h"
|
| +#include "public/platform/Platform.h"
|
| #include "weborigin/SecurityOrigin.h"
|
| #include "wtf/CurrentTime.h"
|
| #include "wtf/StdLibExtras.h"
|
| @@ -138,7 +138,7 @@ void ScriptController::clearForClose()
|
| {
|
| double start = currentTime();
|
| clearForClose(false);
|
| - HistogramSupport::histogramCustomCounts("WebCore.ScriptController.clearForClose", (currentTime() - start) * 1000, 0, 10000, 50);
|
| + WebKit::Platform::current()->histogramCustomCounts("WebCore.ScriptController.clearForClose", (currentTime() - start) * 1000, 0, 10000, 50);
|
| }
|
|
|
| void ScriptController::updateSecurityOrigin()
|
| @@ -504,7 +504,7 @@ void ScriptController::clearWindowShell()
|
| for (IsolatedWorldMap::iterator iter = m_isolatedWorlds.begin(); iter != m_isolatedWorlds.end(); ++iter)
|
| iter->value->clearForNavigation();
|
| V8GCController::hintForCollectGarbage();
|
| - HistogramSupport::histogramCustomCounts("WebCore.ScriptController.clearWindowShell", (currentTime() - start) * 1000, 0, 10000, 50);
|
| + WebKit::Platform::current()->histogramCustomCounts("WebCore.ScriptController.clearWindowShell", (currentTime() - start) * 1000, 0, 10000, 50);
|
| }
|
|
|
| void ScriptController::setCaptureCallStackForUncaughtExceptions(bool value)
|
|
|