Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: Source/bindings/core/v8/ScriptPromise.h

Issue 1111163003: Replace v8::Handle<> with v8::Local<> in bindings/core/v8/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/ScriptProfiler.cpp ('k') | Source/bindings/core/v8/ScriptPromise.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « Source/bindings/core/v8/ScriptProfiler.cpp ('k') | Source/bindings/core/v8/ScriptPromise.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698