From d441d6f39bb846989d95bcf5caf387b42414718d Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 13 Sep 2013 12:51:20 +0200 Subject: Import Qt5x2 branch of QtWebkit for Qt 5.2 Importing a new snapshot of webkit. Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c Reviewed-by: Allan Sandfeld Jensen --- Source/WebKit/win/WebJavaScriptCollector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/WebKit/win/WebJavaScriptCollector.cpp') diff --git a/Source/WebKit/win/WebJavaScriptCollector.cpp b/Source/WebKit/win/WebJavaScriptCollector.cpp index 7b2f67fa6..98f4431c7 100644 --- a/Source/WebKit/win/WebJavaScriptCollector.cpp +++ b/Source/WebKit/win/WebJavaScriptCollector.cpp @@ -28,7 +28,7 @@ #include "WebJavaScriptCollector.h" #include -#include +#include #include #include #include @@ -111,7 +111,7 @@ HRESULT STDMETHODCALLTYPE WebJavaScriptCollector::objectCount( return E_POINTER; } - JSLockHolder lock(JSDOMWindow::commonJSGlobalData()); - *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.objectCount(); + JSLockHolder lock(JSDOMWindow::commonVM()); + *count = (UINT)JSDOMWindow::commonVM()->heap.objectCount(); return S_OK; } -- cgit v1.2.1