Index: Source/bindings/core/v8/ScriptPromisePropertyBase.cpp |
diff --git a/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp b/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp |
index cc94efc741cc944d0f628fc458b3680ee33c4a35..88b02d2e639f108c7afb0ad3a9599516db6fc73f 100644 |
--- a/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp |
+++ b/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp |
@@ -142,7 +142,7 @@ v8::Local<v8::Object> ScriptPromisePropertyBase::ensureHolderWrapper(ScriptState |
return wrapper; |
++i; |
} |
- v8::Local<v8::Object> wrapper = holder(context->Global(), m_isolate); |
+ v8::Local<v8::Object> wrapper = holder(m_isolate, context->Global()); |
OwnPtr<ScopedPersistent<v8::Object>> weakPersistent = adoptPtr(new ScopedPersistent<v8::Object>); |
weakPersistent->set(m_isolate, wrapper); |
weakPersistent->setWeak(weakPersistent.get(), &clearHandle); |