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

Unified Diff: Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp

Issue 792183004: [bindings] Use Local<> in lieu of Handle<> for the dictionary_v8.h/cpp in 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
Index: Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp b/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp
index 6e18a2979a57267427d523c16f26e6df484c0166..6162dff4f20385fec819a44e11e57b4a96817c3b 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp
@@ -12,7 +12,7 @@
namespace blink {
-void V8TestInterfaceEventInit::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, TestInterfaceEventInit& impl, ExceptionState& exceptionState)
+void V8TestInterfaceEventInit::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, TestInterfaceEventInit& impl, ExceptionState& exceptionState)
{
if (isUndefinedOrNull(v8Value))
return;
@@ -41,15 +41,15 @@ void V8TestInterfaceEventInit::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value
}
-v8::Handle<v8::Value> toV8(const TestInterfaceEventInit& impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+v8::Local<v8::Value> toV8(const TestInterfaceEventInit& impl, v8::Local<v8::Object> creationContext, v8::Isolate* isolate)
{
- v8::Handle<v8::Object> v8Object = v8::Object::New(isolate);
+ v8::Local<v8::Object> v8Object = v8::Object::New(isolate);
toV8EventInitDictionary(impl, v8Object, creationContext, isolate);
toV8TestInterfaceEventInit(impl, v8Object, creationContext, isolate);
return v8Object;
}
-void toV8TestInterfaceEventInit(const TestInterfaceEventInit& impl, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+void toV8TestInterfaceEventInit(const TestInterfaceEventInit& impl, v8::Local<v8::Object> dictionary, v8::Local<v8::Object> creationContext, v8::Isolate* isolate)
{
if (impl.hasStringMember()) {
dictionary->Set(v8String(isolate, "stringMember"), v8String(isolate, impl.stringMember()));
@@ -57,7 +57,7 @@ void toV8TestInterfaceEventInit(const TestInterfaceEventInit& impl, v8::Handle<v
}
-TestInterfaceEventInit NativeValueTraits<TestInterfaceEventInit>::nativeValue(const v8::Handle<v8::Value>& value, v8::Isolate* isolate, ExceptionState& exceptionState)
+TestInterfaceEventInit NativeValueTraits<TestInterfaceEventInit>::nativeValue(const v8::Local<v8::Value>& value, v8::Isolate* isolate, ExceptionState& exceptionState)
{
TestInterfaceEventInit impl;
V8TestInterfaceEventInit::toImpl(isolate, value, impl, exceptionState);

Powered by Google App Engine
This is Rietveld 408576698