| Index: Source/bindings/v8/V8Binding.cpp
|
| diff --git a/Source/bindings/v8/V8Binding.cpp b/Source/bindings/v8/V8Binding.cpp
|
| index dbb1a8ddb39ac100822cdad8a8be5b05e25781e1..04d837208ca7c2f0b89c07d25c89d9d1ac128fca 100644
|
| --- a/Source/bindings/v8/V8Binding.cpp
|
| +++ b/Source/bindings/v8/V8Binding.cpp
|
| @@ -611,25 +611,6 @@ void crashIfV8IsDead()
|
| }
|
| }
|
|
|
| -WrapperWorldType worldType(v8::Isolate* isolate)
|
| -{
|
| - V8PerIsolateData* data = V8PerIsolateData::from(isolate);
|
| - if (data->isMainThread())
|
| - return worldTypeInMainThread(isolate);
|
| - return WorkerWorld;
|
| -}
|
| -
|
| -WrapperWorldType worldTypeInMainThread(v8::Isolate* isolate)
|
| -{
|
| - if (!DOMWrapperWorld::isolatedWorldsExist())
|
| - return MainWorld;
|
| - ASSERT(!isolate->GetEnteredContext().IsEmpty());
|
| - DOMWrapperWorld* world = DOMWrapperWorld::world(isolate->GetEnteredContext());
|
| - if (world->isMainWorld())
|
| - return MainWorld;
|
| - return IsolatedWorld;
|
| -}
|
| -
|
| v8::Handle<v8::Function> getBoundFunction(v8::Handle<v8::Function> function)
|
| {
|
| v8::Handle<v8::Value> boundFunction = function->GetBoundFunction();
|
|
|