From 574543de6f562b52e4e06c8b493c76dea160473f Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Mon, 6 Jun 2011 18:46:54 +0100 Subject: Merge WebKit at r74325: Build fix. Cherry pick of upstream patch http://trac.webkit.org/changeset/87424 Change-Id: I6546831e7cecf11bbfd194f0620c56f293b56f2d --- Source/WebCore/bindings/v8/V8DOMWrapper.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/WebCore/bindings/v8/V8DOMWrapper.cpp') diff --git a/Source/WebCore/bindings/v8/V8DOMWrapper.cpp b/Source/WebCore/bindings/v8/V8DOMWrapper.cpp index bef28a2..249ca7c 100644 --- a/Source/WebCore/bindings/v8/V8DOMWrapper.cpp +++ b/Source/WebCore/bindings/v8/V8DOMWrapper.cpp @@ -252,7 +252,9 @@ static bool globalObjectPrototypeIsDOMWindow(v8::Handle objectProtot v8::Local V8DOMWrapper::instantiateV8Object(V8Proxy* proxy, WrapperTypeInfo* type, void* impl) { +#if ENABLE(WORKERS) WorkerContext* workerContext = 0; +#endif if (V8IsolatedContext::getEntered()) { // This effectively disables the wrapper cache for isolated worlds. proxy = 0; -- cgit v1.1