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

Side by Side Diff: Source/bindings/tests/results/core/V8TestCallbackInterface.cpp

Issue 954683002: InlinedVisitor: Migrate bindings to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestCallbackInterface.h" 8 #include "V8TestCallbackInterface.h"
9 9
10 #include "bindings/core/v8/ScriptController.h" 10 #include "bindings/core/v8/ScriptController.h"
(...skipping 11 matching lines...) Expand all
22 : ActiveDOMCallback(scriptState->executionContext()) 22 : ActiveDOMCallback(scriptState->executionContext())
23 , m_scriptState(scriptState) 23 , m_scriptState(scriptState)
24 { 24 {
25 m_callback.set(scriptState->isolate(), callback); 25 m_callback.set(scriptState->isolate(), callback);
26 } 26 }
27 27
28 V8TestCallbackInterface::~V8TestCallbackInterface() 28 V8TestCallbackInterface::~V8TestCallbackInterface()
29 { 29 {
30 } 30 }
31 31
32 void V8TestCallbackInterface::trace(Visitor* visitor) 32 DEFINE_TRACE(V8TestCallbackInterface)
33 { 33 {
34 TestCallbackInterface::trace(visitor); 34 TestCallbackInterface::trace(visitor);
35 ActiveDOMCallback::trace(visitor); 35 ActiveDOMCallback::trace(visitor);
36 } 36 }
37 37
38 void V8TestCallbackInterface::voidMethod() 38 void V8TestCallbackInterface::voidMethod()
39 { 39 {
40 if (!canInvokeCallback()) 40 if (!canInvokeCallback())
41 return; 41 return;
42 42
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 if (!isScriptControllerTerminating()) 232 if (!isScriptControllerTerminating())
233 CRASH(); 233 CRASH();
234 return; 234 return;
235 } 235 }
236 v8::Local<v8::Value> argv[] = { arrayArgHandle }; 236 v8::Local<v8::Value> argv[] = { arrayArgHandle };
237 237
238 ScriptController::callFunction(m_scriptState->executionContext(), m_callback .newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 1, argv , m_scriptState->isolate()); 238 ScriptController::callFunction(m_scriptState->executionContext(), m_callback .newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 1, argv , m_scriptState->isolate());
239 } 239 }
240 240
241 } // namespace blink 241 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698