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