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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunctionInterfaceArg.h

Issue 2474693002: [wrapper-tracing] Support for incrementally tracing ScopedPersistent (Closed)
Patch Set: Added bailout for tests when the flag is off Created 4 years, 1 month 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
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 // clang-format off 7 // clang-format off
8 8
9 #ifndef VoidCallbackFunctionInterfaceArg_h 9 #ifndef VoidCallbackFunctionInterfaceArg_h
10 #define VoidCallbackFunctionInterfaceArg_h 10 #define VoidCallbackFunctionInterfaceArg_h
(...skipping 28 matching lines...) Expand all
39 39
40 void setWrapperReference(v8::Isolate* isolate, const v8::Persistent<v8::Object >& wrapper) { 40 void setWrapperReference(v8::Isolate* isolate, const v8::Persistent<v8::Object >& wrapper) {
41 DCHECK(!m_callback.isEmpty()); 41 DCHECK(!m_callback.isEmpty());
42 m_callback.setReference(wrapper, isolate); 42 m_callback.setReference(wrapper, isolate);
43 } 43 }
44 44
45 private: 45 private:
46 VoidCallbackFunctionInterfaceArg(ScriptState*, v8::Local<v8::Function>); 46 VoidCallbackFunctionInterfaceArg(ScriptState*, v8::Local<v8::Function>);
47 47
48 RefPtr<ScriptState> m_scriptState; 48 RefPtr<ScriptState> m_scriptState;
49 ScopedPersistent<v8::Function> m_callback; 49 TraceWrapperV8Reference<v8::Function> m_callback;
50 }; 50 };
51 51
52 } // namespace blink 52 } // namespace blink
53 53
54 #endif // VoidCallbackFunctionInterfaceArg_h 54 #endif // VoidCallbackFunctionInterfaceArg_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698