| Index: Source/bindings/v8/ScriptPromise.h
|
| diff --git a/Source/bindings/v8/ScriptPromise.h b/Source/bindings/v8/ScriptPromise.h
|
| index 5936837b133c8f73c19eeb5bb4d1205695ddd98d..69cdd7deccbd08a1c9854255dced80a0a7989e0d 100644
|
| --- a/Source/bindings/v8/ScriptPromise.h
|
| +++ b/Source/bindings/v8/ScriptPromise.h
|
| @@ -52,7 +52,7 @@ public:
|
|
|
| // Constructs a ScriptPromise from |promise|.
|
| // If |promise| is not a Promise object, throws a v8 TypeError.
|
| - ScriptPromise(v8::Handle<v8::Value> promise, v8::Isolate*);
|
| + ScriptPromise(ScriptState*, v8::Handle<v8::Value> promise);
|
|
|
| ScriptPromise then(PassOwnPtr<ScriptFunction> onFulfilled, PassOwnPtr<ScriptFunction> onRejected = PassOwnPtr<ScriptFunction>());
|
|
|
| @@ -97,6 +97,7 @@ public:
|
| static ScriptPromise cast(const ScriptValue& /*value*/);
|
|
|
| private:
|
| + RefPtr<ScriptState> m_scriptState;
|
| ScriptValue m_promise;
|
| };
|
|
|
|
|