Index: Source/bindings/v8/ScriptPromiseResolver.cpp |
diff --git a/Source/bindings/v8/ScriptPromiseResolver.cpp b/Source/bindings/v8/ScriptPromiseResolver.cpp |
index 8e2e5b3ed9f1a1a7c824f20e6aa3072797b5483b..bd5ccd84393c6af8bb3f37b20c2ab4e2d36f35cd 100644 |
--- a/Source/bindings/v8/ScriptPromiseResolver.cpp |
+++ b/Source/bindings/v8/ScriptPromiseResolver.cpp |
@@ -124,7 +124,7 @@ void ScriptPromiseResolver::resolve(v8::Handle<v8::Value> value) |
ASSERT(v8::Context::InContext()); |
if (!isPending()) |
return; |
- V8PromiseCustom::resolve(m_promise.v8Value().As<v8::Object>(), value, V8PromiseCustom::Asynchronous, m_isolate); |
+ V8PromiseCustom::resolve(m_promise.v8Value().As<v8::Object>(), value, m_isolate); |
detachPromiseForResolve(); |
} |
@@ -133,7 +133,7 @@ void ScriptPromiseResolver::reject(v8::Handle<v8::Value> value) |
ASSERT(v8::Context::InContext()); |
if (!isPending()) |
return; |
- V8PromiseCustom::reject(m_promise.v8Value().As<v8::Object>(), value, V8PromiseCustom::Asynchronous, m_isolate); |
+ V8PromiseCustom::reject(m_promise.v8Value().As<v8::Object>(), value, m_isolate); |
detachPromiseForResolve(); |
} |