void ScriptController::clearForClose() { double start = currentTime(); clearForClose(false); HistogramSupport::histogramCustomCounts("WebCore.ScriptController.clearForClose", (currentTime() - start) * 1000, 0, 10000, 50); }
void ScriptController::clearForOutOfMemory() { clearForClose(true); }
ScriptController::~ScriptController() { clearForClose(true); }
V8Proxy::~V8Proxy() { clearForClose(); windowShell()->destroyGlobal(); }
void ScriptController::clearForClose() { double start = currentTime(); clearForClose(false); blink::Platform::current()->histogramCustomCounts("WebCore.ScriptController.clearForClose", (currentTime() - start) * 1000, 0, 10000, 50); }
V8Proxy::~V8Proxy() { clearForClose(); destroyGlobal(); }
ScriptController::~ScriptController() { windowShell()->destroyGlobal(); clearForClose(); }