Index: Source/bindings/v8/ScriptPromise.h |
diff --git a/Source/bindings/v8/ScriptPromise.h b/Source/bindings/v8/ScriptPromise.h |
index 02f0a227b39aa701b9e539d8c07e953d79d9e451..8ed4f0812ce48ad9022870894c8ff8aee3189c8e 100644 |
--- a/Source/bindings/v8/ScriptPromise.h |
+++ b/Source/bindings/v8/ScriptPromise.h |
@@ -56,8 +56,9 @@ public: |
ASSERT(!m_promise.hasNoValue()); |
} |
+ // FIXME: This constructor should take an isolate. |
explicit ScriptPromise(v8::Handle<v8::Value> promise) |
- : m_promise(promise) |
+ : m_promise(promise, v8::Isolate::GetCurrent()) |
{ |
ASSERT(!m_promise.hasNoValue()); |
} |