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

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

Issue 1071963002: Replace Handle<> with 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/V8EventListenerList.h ('k') | Source/bindings/core/v8/V8HiddenValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8GCController.cpp
diff --git a/Source/bindings/core/v8/V8GCController.cpp b/Source/bindings/core/v8/V8GCController.cpp
index e45c8369e4821f60f1ff814ea8727e752f0e4988..751e6ab334fd5d86a0879c439e80dd03227550b9 100644
--- a/Source/bindings/core/v8/V8GCController.cpp
+++ b/Source/bindings/core/v8/V8GCController.cpp
@@ -127,8 +127,8 @@ public:
// Casting to a Handle is safe here, since the Persistent doesn't get GCd
// during the GC prologue.
- ASSERT((*reinterpret_cast<v8::Handle<v8::Value>*>(value))->IsObject());
- v8::Handle<v8::Object>* wrapper = reinterpret_cast<v8::Handle<v8::Object>*>(value);
+ ASSERT((*reinterpret_cast<v8::Local<v8::Value>*>(value))->IsObject());
+ v8::Local<v8::Object>* wrapper = reinterpret_cast<v8::Local<v8::Object>*>(value);
ASSERT(V8DOMWrapper::hasInternalFieldsSet(*wrapper));
ASSERT(V8Node::hasInstance(*wrapper, m_isolate));
Node* node = V8Node::toImpl(*wrapper);
@@ -260,8 +260,8 @@ public:
// Casting to a Handle is safe here, since the Persistent doesn't get GCd
// during the GC prologue.
- ASSERT((*reinterpret_cast<v8::Handle<v8::Value>*>(value))->IsObject());
- v8::Handle<v8::Object>* wrapper = reinterpret_cast<v8::Handle<v8::Object>*>(value);
+ ASSERT((*reinterpret_cast<v8::Local<v8::Value>*>(value))->IsObject());
+ v8::Local<v8::Object>* wrapper = reinterpret_cast<v8::Local<v8::Object>*>(value);
ASSERT(V8DOMWrapper::hasInternalFieldsSet(*wrapper));
if (value->IsIndependent())
@@ -496,8 +496,8 @@ public:
// Casting to a Handle is safe here, since the Persistent doesn't get GCd
// during tracing.
- ASSERT((*reinterpret_cast<v8::Handle<v8::Value>*>(value))->IsObject());
- v8::Handle<v8::Object>* wrapper = reinterpret_cast<v8::Handle<v8::Object>*>(value);
+ ASSERT((*reinterpret_cast<v8::Local<v8::Value>*>(value))->IsObject());
+ v8::Local<v8::Object>* wrapper = reinterpret_cast<v8::Local<v8::Object>*>(value);
ASSERT(V8DOMWrapper::hasInternalFieldsSet(*wrapper));
if (m_visitor)
toWrapperTypeInfo(*wrapper)->trace(m_visitor, toScriptWrappable(*wrapper));
« no previous file with comments | « Source/bindings/core/v8/V8EventListenerList.h ('k') | Source/bindings/core/v8/V8HiddenValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698