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

Unified Diff: Source/bindings/tests/results/core/V8TestPermissiveDictionary.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
« no previous file with comments | « Source/bindings/tests/results/core/V8TestPermissiveDictionary.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp
diff --git a/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp b/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp
index a4e9d220c673000327b9b96dd72ee8b871d6ce15..d6bce6e8ea1fdc358f0662cfbe10761df4c9570d 100644
--- a/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp
+++ b/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp
@@ -11,7 +11,7 @@
namespace blink {
-void V8TestPermissiveDictionary::toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, TestPermissiveDictionary& impl, ExceptionState& exceptionState)
+void V8TestPermissiveDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, TestPermissiveDictionary& impl, ExceptionState& exceptionState)
{
if (isUndefinedOrNull(v8Value))
return;
@@ -36,14 +36,14 @@ void V8TestPermissiveDictionary::toImpl(v8::Isolate* isolate, v8::Handle<v8::Val
}
-v8::Handle<v8::Value> toV8(const TestPermissiveDictionary& impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+v8::Local<v8::Value> toV8(const TestPermissiveDictionary& 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);
toV8TestPermissiveDictionary(impl, v8Object, creationContext, isolate);
return v8Object;
}
-void toV8TestPermissiveDictionary(const TestPermissiveDictionary& impl, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
+void toV8TestPermissiveDictionary(const TestPermissiveDictionary& impl, v8::Local<v8::Object> dictionary, v8::Local<v8::Object> creationContext, v8::Isolate* isolate)
{
if (impl.hasBooleanMember()) {
dictionary->Set(v8String(isolate, "booleanMember"), v8Boolean(impl.booleanMember(), isolate));
@@ -51,7 +51,7 @@ void toV8TestPermissiveDictionary(const TestPermissiveDictionary& impl, v8::Hand
}
-TestPermissiveDictionary NativeValueTraits<TestPermissiveDictionary>::nativeValue(const v8::Handle<v8::Value>& value, v8::Isolate* isolate, ExceptionState& exceptionState)
+TestPermissiveDictionary NativeValueTraits<TestPermissiveDictionary>::nativeValue(const v8::Local<v8::Value>& value, v8::Isolate* isolate, ExceptionState& exceptionState)
{
TestPermissiveDictionary impl;
V8TestPermissiveDictionary::toImpl(isolate, value, impl, exceptionState);
« no previous file with comments | « Source/bindings/tests/results/core/V8TestPermissiveDictionary.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698