diff options
Diffstat (limited to 'Source/WebCore/bindings/v8/V8DOMWrapper.cpp')
-rw-r--r-- | Source/WebCore/bindings/v8/V8DOMWrapper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<v8::Object> objectProtot v8::Local<v8::Object> 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; |