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

Unified Diff: Source/bindings/tests/results/core/V8TestDictionaryDerived.h

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/V8TestDictionaryDerived.h
diff --git a/Source/bindings/tests/results/core/V8TestDictionaryDerived.h b/Source/bindings/tests/results/core/V8TestDictionaryDerived.h
index 852b4f280dd74f7a481330bdd428138d34a4886b..40b7e93830e38adca874e50232c037e00ca9f71e 100644
--- a/Source/bindings/tests/results/core/V8TestDictionaryDerived.h
+++ b/Source/bindings/tests/results/core/V8TestDictionaryDerived.h
@@ -18,11 +18,11 @@ class ExceptionState;
class V8TestDictionaryDerivedImplementedAs {
public:
- static void toImpl(v8::Isolate*, v8::Handle<v8::Value>, TestDictionaryDerivedImplementedAs&, ExceptionState&);
+ static void toImpl(v8::Isolate*, v8::Local<v8::Value>, TestDictionaryDerivedImplementedAs&, ExceptionState&);
};
-v8::Handle<v8::Value> toV8(const TestDictionaryDerivedImplementedAs&, v8::Handle<v8::Object>, v8::Isolate*);
-void toV8TestDictionaryDerivedImplementedAs(const TestDictionaryDerivedImplementedAs&, v8::Handle<v8::Object> dictionary, v8::Handle<v8::Object> creationContext, v8::Isolate*);
+v8::Local<v8::Value> toV8(const TestDictionaryDerivedImplementedAs&, v8::Local<v8::Object>, v8::Isolate*);
+void toV8TestDictionaryDerivedImplementedAs(const TestDictionaryDerivedImplementedAs&, v8::Local<v8::Object> dictionary, v8::Local<v8::Object> creationContext, v8::Isolate*);
template<class CallbackInfo>
inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionaryDerivedImplementedAs& impl)
@@ -32,7 +32,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionaryDer
template <>
struct NativeValueTraits<TestDictionaryDerivedImplementedAs> {
- static TestDictionaryDerivedImplementedAs nativeValue(const v8::Handle<v8::Value>&, v8::Isolate*, ExceptionState&);
+ static TestDictionaryDerivedImplementedAs nativeValue(const v8::Local<v8::Value>&, v8::Isolate*, ExceptionState&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698