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

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

Issue 803963002: [bindings] Use Local<> in lieu of Handle<> for the callback_interface.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/V8TestCallbackInterface.h
diff --git a/Source/bindings/tests/results/core/V8TestCallbackInterface.h b/Source/bindings/tests/results/core/V8TestCallbackInterface.h
index 2f282c5a53a093810b3fa3850ccc51947e958158..fe9c2ade99708a9e02663d288e34b511f5328630 100644
--- a/Source/bindings/tests/results/core/V8TestCallbackInterface.h
+++ b/Source/bindings/tests/results/core/V8TestCallbackInterface.h
@@ -16,7 +16,7 @@ namespace blink {
class V8TestCallbackInterface final : public TestCallbackInterface, public ActiveDOMCallback {
public:
- static V8TestCallbackInterface* create(v8::Handle<v8::Function> callback, ScriptState* scriptState)
+ static V8TestCallbackInterface* create(v8::Local<v8::Function> callback, ScriptState* scriptState)
{
return new V8TestCallbackInterface(callback, scriptState);
}
@@ -35,7 +35,7 @@ public:
virtual void voidMethodWillBeGarbageCollectedSequenceArg(const WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& sequenceArg) override;
virtual void voidMethodWillBeGarbageCollectedArrayArg(const WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& arrayArg) override;
private:
- V8TestCallbackInterface(v8::Handle<v8::Function>, ScriptState*);
+ V8TestCallbackInterface(v8::Local<v8::Function>, ScriptState*);
ScopedPersistent<v8::Function> m_callback;
RefPtr<ScriptState> m_scriptState;
« no previous file with comments | « Source/bindings/templates/callback_interface.cpp ('k') | Source/bindings/tests/results/core/V8TestCallbackInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698