| Index: Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp
|
| diff --git a/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp b/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp
|
| index 2e0e2c08d281d82b00f0d1ddb321408224ab33bb..a8644866258fd825f79b3eb41c849b0c930c1893 100644
|
| --- a/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp
|
| +++ b/Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp
|
| @@ -125,7 +125,7 @@ V8CustomElementLifecycleCallbacks::~V8CustomElementLifecycleCallbacks()
|
| if (!m_owner)
|
| return;
|
|
|
| - v8::HandleScope handleScope(getIsolateFromScriptExecutionContext(scriptExecutionContext()));
|
| + v8::HandleScope handleScope(isolateForScriptExecutionContext(scriptExecutionContext()));
|
| if (V8PerContextData* perContextData = creationContextData())
|
| perContextData->clearCustomElementBinding(m_owner);
|
| }
|
| @@ -153,7 +153,7 @@ void V8CustomElementLifecycleCallbacks::created(Element* element)
|
|
|
| element->setCustomElementState(Element::Upgraded);
|
|
|
| - v8::Isolate* isolate = getIsolateFromScriptExecutionContext(scriptExecutionContext());
|
| + v8::Isolate* isolate = isolateForScriptExecutionContext(scriptExecutionContext());
|
| v8::HandleScope handleScope(isolate);
|
| v8::Handle<v8::Context> context = toV8Context(scriptExecutionContext(), m_world.get());
|
| if (context.IsEmpty())
|
| @@ -201,7 +201,7 @@ void V8CustomElementLifecycleCallbacks::attributeChanged(Element* element, const
|
| if (!canInvokeCallback())
|
| return;
|
|
|
| - v8::Isolate* isolate = getIsolateFromScriptExecutionContext(scriptExecutionContext());
|
| + v8::Isolate* isolate = isolateForScriptExecutionContext(scriptExecutionContext());
|
| v8::HandleScope handleScope(isolate);
|
| v8::Handle<v8::Context> context = toV8Context(scriptExecutionContext(), m_world.get());
|
| if (context.IsEmpty())
|
| @@ -232,7 +232,7 @@ void V8CustomElementLifecycleCallbacks::call(const ScopedPersistent<v8::Function
|
| if (!canInvokeCallback())
|
| return;
|
|
|
| - v8::HandleScope handleScope(getIsolateFromScriptExecutionContext(scriptExecutionContext()));
|
| + v8::HandleScope handleScope(isolateForScriptExecutionContext(scriptExecutionContext()));
|
| v8::Handle<v8::Context> context = toV8Context(scriptExecutionContext(), m_world.get());
|
| if (context.IsEmpty())
|
| return;
|
|
|