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

Unified Diff: Source/bindings/core/v8/ScriptPromisePropertyBase.cpp

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
Index: Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
diff --git a/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp b/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
index 88b02d2e639f108c7afb0ad3a9599516db6fc73f..fd3dc1ad28622e95eb2cc3f625d1911e84b193bf 100644
--- a/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
+++ b/Source/bindings/core/v8/ScriptPromisePropertyBase.cpp
@@ -107,7 +107,7 @@ void ScriptPromisePropertyBase::resetBase()
m_state = Pending;
}
-void ScriptPromisePropertyBase::resolveOrRejectInternal(v8::Handle<v8::Promise::Resolver> resolver)
+void ScriptPromisePropertyBase::resolveOrRejectInternal(v8::Local<v8::Promise::Resolver> resolver)
{
v8::Local<v8::Context> context = resolver->CreationContext();
switch (m_state) {
@@ -163,7 +163,7 @@ void ScriptPromisePropertyBase::clearWrappers()
m_wrappers.clear();
}
-v8::Handle<v8::String> ScriptPromisePropertyBase::promiseName()
+v8::Local<v8::String> ScriptPromisePropertyBase::promiseName()
{
switch (m_name) {
#define P(Name) \
@@ -175,10 +175,10 @@ v8::Handle<v8::String> ScriptPromisePropertyBase::promiseName()
#undef P
}
ASSERT_NOT_REACHED();
- return v8::Handle<v8::String>();
+ return v8::Local<v8::String>();
}
-v8::Handle<v8::String> ScriptPromisePropertyBase::resolverName()
+v8::Local<v8::String> ScriptPromisePropertyBase::resolverName()
{
switch (m_name) {
#define P(Name) \
@@ -190,7 +190,7 @@ v8::Handle<v8::String> ScriptPromisePropertyBase::resolverName()
#undef P
}
ASSERT_NOT_REACHED();
- return v8::Handle<v8::String>();
+ return v8::Local<v8::String>();
}
DEFINE_TRACE(ScriptPromisePropertyBase)
« no previous file with comments | « Source/bindings/core/v8/ScriptPromisePropertyBase.h ('k') | Source/bindings/core/v8/ScriptPromisePropertyTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698