| Index: Source/bindings/v8/ScriptPromise.cpp
|
| diff --git a/Source/bindings/v8/ScriptPromise.cpp b/Source/bindings/v8/ScriptPromise.cpp
|
| index be125f4d27e156ff83b9540be26d0a8997faea2f..11865ee4854c9fd76b572354a85ebfa60b06eca2 100644
|
| --- a/Source/bindings/v8/ScriptPromise.cpp
|
| +++ b/Source/bindings/v8/ScriptPromise.cpp
|
| @@ -94,9 +94,9 @@ ScriptPromise ScriptPromise::then(PassOwnPtr<ScriptFunction> onFulfilled, PassOw
|
| return ScriptPromise(m_scriptState.get(), resultPromise);
|
| }
|
|
|
| -ScriptPromise ScriptPromise::cast(const ScriptValue& value)
|
| +ScriptPromise ScriptPromise::cast(ScriptState* scriptState, const ScriptValue& value)
|
| {
|
| - return ScriptPromise::cast(value.scriptState(), value.v8Value());
|
| + return ScriptPromise::cast(scriptState, value.v8Value());
|
| }
|
|
|
| ScriptPromise ScriptPromise::cast(ScriptState* scriptState, v8::Handle<v8::Value> value)
|
| @@ -112,9 +112,9 @@ ScriptPromise ScriptPromise::cast(ScriptState* scriptState, v8::Handle<v8::Value
|
| return promise;
|
| }
|
|
|
| -ScriptPromise ScriptPromise::reject(const ScriptValue& value)
|
| +ScriptPromise ScriptPromise::reject(ScriptState* scriptState, const ScriptValue& value)
|
| {
|
| - return ScriptPromise::reject(value.scriptState(), value.v8Value());
|
| + return ScriptPromise::reject(scriptState, value.v8Value());
|
| }
|
|
|
| ScriptPromise ScriptPromise::reject(ScriptState* scriptState, v8::Handle<v8::Value> value)
|
|
|