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

Unified Diff: Source/bindings/templates/interface.h

Issue 813513004: [bindings] Remove all the usages of Handle<> from binding templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/WrapperTypeInfo.h ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/interface.h
diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h
index f48a2805dabc33e88627842470204ede0cb82763..83f52ba40a45c91c1a653b47ee0ff1e86d161ee2 100644
--- a/Source/bindings/templates/interface.h
+++ b/Source/bindings/templates/interface.h
@@ -42,18 +42,18 @@ public:
};
{% endif %}
- static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
+ static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
{% if is_array_buffer_or_view %}
- static {{cpp_class}}* toImpl(v8::Handle<v8::Object> object);
+ static {{cpp_class}}* toImpl(v8::Local<v8::Object> object);
{% else %}
- static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*);
+ static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*);
- static {{cpp_class}}* toImpl(v8::Handle<v8::Object> object)
+ static {{cpp_class}}* toImpl(v8::Local<v8::Object> object)
{
return blink::toScriptWrappable(object)->toImpl<{{cpp_class}}>();
}
{% endif %}
- static {{cpp_class}}* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
+ static {{cpp_class}}* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
{% if has_partial_interface %}
static WrapperTypeInfo wrapperTypeInfo;
{% else %}
@@ -75,7 +75,7 @@ public:
static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persistent<v8::Object>&);
{% endif %}
{% if is_active_dom_object %}
- static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
+ static ActiveDOMObject* toActiveDOMObject(v8::Local<v8::Object>);
{% endif %}
{% if interface_name == 'Window' %}
static v8::Local<v8::ObjectTemplate> getShadowObjectTemplate(v8::Isolate*);
« no previous file with comments | « Source/bindings/core/v8/WrapperTypeInfo.h ('k') | Source/bindings/templates/interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698