| Index: Source/bindings/v8/WorkerScriptController.cpp
|
| diff --git a/Source/bindings/v8/WorkerScriptController.cpp b/Source/bindings/v8/WorkerScriptController.cpp
|
| index 257de0b315d3231ae53097b39a5ffe763cb4ca27..c24feb4c3dc2510d74494b1d8bbc5d8e34ea9e31 100644
|
| --- a/Source/bindings/v8/WorkerScriptController.cpp
|
| +++ b/Source/bindings/v8/WorkerScriptController.cpp
|
| @@ -115,9 +115,9 @@ bool WorkerScriptController::initializeContextIfNeeded()
|
| context->SetEmbedderData(0, v8::String::NewSymbol("worker"));
|
|
|
| // Create a new JS object and use it as the prototype for the shadow global object.
|
| - WrapperTypeInfo* contextType = &V8DedicatedWorkerGlobalScope::info;
|
| + WrapperTypeInfo* contextType = &V8DedicatedWorkerGlobalScope::wrapperTypeInfo;
|
| if (!m_workerGlobalScope.isDedicatedWorkerGlobalScope())
|
| - contextType = &V8SharedWorkerGlobalScope::info;
|
| + contextType = &V8SharedWorkerGlobalScope::wrapperTypeInfo;
|
| v8::Handle<v8::Function> workerGlobalScopeConstructor = m_perContextData->constructorForType(contextType);
|
| v8::Local<v8::Object> jsWorkerGlobalScope = V8ObjectConstructor::newInstance(workerGlobalScopeConstructor);
|
| if (jsWorkerGlobalScope.IsEmpty()) {
|
|
|