| Index: Source/bindings/core/v8/ScriptPromise.h
|
| diff --git a/Source/bindings/core/v8/ScriptPromise.h b/Source/bindings/core/v8/ScriptPromise.h
|
| index fadafe715d8a0147d5397298325430172ecb0bf3..7e3036e190d3af14e3882162a892a07b58932d43 100644
|
| --- a/Source/bindings/core/v8/ScriptPromise.h
|
| +++ b/Source/bindings/core/v8/ScriptPromise.h
|
| @@ -54,9 +54,9 @@ public:
|
|
|
| // Constructs a ScriptPromise from |promise|.
|
| // If |promise| is not a Promise object, throws a v8 TypeError.
|
| - ScriptPromise(ScriptState*, v8::Handle<v8::Value> promise);
|
| + ScriptPromise(ScriptState*, v8::Local<v8::Value> promise);
|
|
|
| - ScriptPromise then(v8::Handle<v8::Function> onFulfilled, v8::Handle<v8::Function> onRejected = v8::Handle<v8::Function>());
|
| + ScriptPromise then(v8::Local<v8::Function> onFulfilled, v8::Local<v8::Function> onRejected = v8::Local<v8::Function>());
|
|
|
| bool isObject() const
|
| {
|
| @@ -78,7 +78,7 @@ public:
|
| return m_promise;
|
| }
|
|
|
| - v8::Handle<v8::Value> v8Value() const
|
| + v8::Local<v8::Value> v8Value() const
|
| {
|
| return m_promise.v8Value();
|
| }
|
| @@ -113,14 +113,14 @@ public:
|
| // resolved with |value|.
|
| // Returns |value| itself if it is a Promise.
|
| static ScriptPromise cast(ScriptState*, const ScriptValue& /*value*/);
|
| - static ScriptPromise cast(ScriptState*, v8::Handle<v8::Value> /*value*/);
|
| + static ScriptPromise cast(ScriptState*, v8::Local<v8::Value> /*value*/);
|
|
|
| static ScriptPromise reject(ScriptState*, const ScriptValue&);
|
| - static ScriptPromise reject(ScriptState*, v8::Handle<v8::Value>);
|
| + static ScriptPromise reject(ScriptState*, v8::Local<v8::Value>);
|
|
|
| static ScriptPromise rejectWithDOMException(ScriptState*, DOMException*);
|
|
|
| - static v8::Local<v8::Promise> rejectRaw(ScriptState*, v8::Handle<v8::Value>);
|
| + static v8::Local<v8::Promise> rejectRaw(ScriptState*, v8::Local<v8::Value>);
|
|
|
| // This is a utility class intended to be used internally.
|
| // ScriptPromiseResolver is for general purpose.
|
|
|