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

Unified Diff: Source/bindings/core/v8/ScopedPersistent.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/RejectedPromises.cpp ('k') | Source/bindings/core/v8/ScriptCallStackFactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScopedPersistent.h
diff --git a/Source/bindings/core/v8/ScopedPersistent.h b/Source/bindings/core/v8/ScopedPersistent.h
index f7a4a0957ceaafd1eaf1f3f827ad671b9863fe7c..25856145ec8fa79b36a14169a981605c0aebe3d8 100644
--- a/Source/bindings/core/v8/ScopedPersistent.h
+++ b/Source/bindings/core/v8/ScopedPersistent.h
@@ -42,7 +42,7 @@ class ScopedPersistent {
public:
ScopedPersistent() { }
- ScopedPersistent(v8::Isolate* isolate, v8::Handle<T> handle)
+ ScopedPersistent(v8::Isolate* isolate, v8::Local<T> handle)
: m_handle(isolate, handle)
{
}
@@ -73,7 +73,7 @@ public:
bool isEmpty() const { return m_handle.IsEmpty(); }
bool isWeak() const { return m_handle.IsWeak(); }
- void set(v8::Isolate* isolate, v8::Handle<T> handle)
+ void set(v8::Isolate* isolate, v8::Local<T> handle)
{
m_handle.Reset(isolate, handle);
}
@@ -90,7 +90,7 @@ public:
}
template <class S>
- bool operator==(const v8::Handle<S> other) const
+ bool operator==(const v8::Local<S> other) const
{
return m_handle == other;
}
« no previous file with comments | « Source/bindings/core/v8/RejectedPromises.cpp ('k') | Source/bindings/core/v8/ScriptCallStackFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698