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

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

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 | « no previous file | Source/bindings/core/v8/Dictionary.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/DOMDataStore.h
diff --git a/Source/bindings/core/v8/DOMDataStore.h b/Source/bindings/core/v8/DOMDataStore.h
index 07dbf22f83ebaf4189e6d32b17e04c67ef5e11ca..48ba3a79d212e997b1e0a94317840984373f3f5b 100644
--- a/Source/bindings/core/v8/DOMDataStore.h
+++ b/Source/bindings/core/v8/DOMDataStore.h
@@ -96,12 +96,12 @@ public:
return current(returnValue.GetIsolate()).setReturnValueFrom(returnValue, ScriptWrappable::fromNode(node));
}
- static v8::Handle<v8::Object> getWrapper(ScriptWrappable* object, v8::Isolate* isolate)
+ static v8::Local<v8::Object> getWrapper(ScriptWrappable* object, v8::Isolate* isolate)
{
return current(isolate).get(object, isolate);
}
- static v8::Handle<v8::Object> getWrapper(Node* node, v8::Isolate* isolate)
+ static v8::Local<v8::Object> getWrapper(Node* node, v8::Isolate* isolate)
{
if (canUseScriptWrappable(node))
return ScriptWrappable::fromNode(node)->newLocalWrapper(isolate);
@@ -122,12 +122,12 @@ public:
current(isolate).setReference(parent, ScriptWrappable::fromNode(child), isolate);
}
- static void setWrapper(ScriptWrappable* object, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate, const WrapperTypeInfo* wrapperTypeInfo)
+ static void setWrapper(ScriptWrappable* object, v8::Local<v8::Object> wrapper, v8::Isolate* isolate, const WrapperTypeInfo* wrapperTypeInfo)
{
return current(isolate).set(object, wrapper, isolate, wrapperTypeInfo);
}
- static void setWrapper(Node* node, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate, const WrapperTypeInfo* wrapperTypeInfo)
+ static void setWrapper(Node* node, v8::Local<v8::Object> wrapper, v8::Isolate* isolate, const WrapperTypeInfo* wrapperTypeInfo)
{
if (canUseScriptWrappable(node)) {
ScriptWrappable::fromNode(node)->setWrapper(wrapper, isolate, wrapperTypeInfo);
@@ -141,7 +141,7 @@ public:
return current(isolate).containsWrapper(object);
}
- v8::Handle<v8::Object> get(ScriptWrappable* object, v8::Isolate* isolate)
+ v8::Local<v8::Object> get(ScriptWrappable* object, v8::Isolate* isolate)
{
if (m_isMainWorld)
return object->newLocalWrapper(isolate);
@@ -172,7 +172,7 @@ public:
}
private:
- void set(ScriptWrappable* object, v8::Handle<v8::Object> wrapper, v8::Isolate* isolate, const WrapperTypeInfo* wrapperTypeInfo)
+ void set(ScriptWrappable* object, v8::Local<v8::Object> wrapper, v8::Isolate* isolate, const WrapperTypeInfo* wrapperTypeInfo)
{
ASSERT(object);
ASSERT(!wrapper.IsEmpty());
« no previous file with comments | « no previous file | Source/bindings/core/v8/Dictionary.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698