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

Unified Diff: Source/bindings/core/v8/ScriptPromisePropertyTest.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/ScriptPromisePropertyTest.cpp
diff --git a/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp b/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
index 63898ec529ac9d8cf5d4e4c39717f56fdcc0b09c..ca116fb80de32f1612f179b4b527b6986d6e6648 100644
--- a/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
+++ b/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp
@@ -32,7 +32,7 @@ namespace {
class NotReached : public ScriptFunction {
public:
- static v8::Handle<v8::Function> createFunction(ScriptState* scriptState)
+ static v8::Local<v8::Function> createFunction(ScriptState* scriptState)
{
NotReached* self = new NotReached(scriptState);
return self->bindToV8Function();
@@ -55,7 +55,7 @@ ScriptValue NotReached::call(ScriptValue)
class StubFunction : public ScriptFunction {
public:
- static v8::Handle<v8::Function> createFunction(ScriptState* scriptState, ScriptValue& value, size_t& callCount)
+ static v8::Local<v8::Function> createFunction(ScriptState* scriptState, ScriptValue& value, size_t& callCount)
{
StubFunction* self = new StubFunction(scriptState, value, callCount);
return self->bindToV8Function();
@@ -154,8 +154,8 @@ public:
void gc() { V8GCController::collectGarbage(v8::Isolate::GetCurrent()); }
- v8::Handle<v8::Function> notReached(ScriptState* scriptState) { return NotReached::createFunction(scriptState); }
- v8::Handle<v8::Function> stub(ScriptState* scriptState, ScriptValue& value, size_t& callCount) { return StubFunction::createFunction(scriptState, value, callCount); }
+ v8::Local<v8::Function> notReached(ScriptState* scriptState) { return NotReached::createFunction(scriptState); }
+ v8::Local<v8::Function> stub(ScriptState* scriptState, ScriptValue& value, size_t& callCount) { return StubFunction::createFunction(scriptState, value, callCount); }
template <typename T>
ScriptValue wrap(DOMWrapperWorld& world, const T& value)
« no previous file with comments | « Source/bindings/core/v8/ScriptPromisePropertyBase.cpp ('k') | Source/bindings/core/v8/ScriptPromiseResolverTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698