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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.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 VoidCallbackFunctionModules_h 9 #ifndef VoidCallbackFunctionModules_h
10 #define VoidCallbackFunctionModules_h 10 #define VoidCallbackFunctionModules_h
(...skipping 27 matching lines...) Expand all
38 38
39 void setWrapperReference(v8::Isolate* isolate, const v8::Persistent<v8::Object >& wrapper) { 39 void setWrapperReference(v8::Isolate* isolate, const v8::Persistent<v8::Object >& wrapper) {
40 DCHECK(!m_callback.isEmpty()); 40 DCHECK(!m_callback.isEmpty());
41 m_callback.setReference(wrapper, isolate); 41 m_callback.setReference(wrapper, isolate);
42 } 42 }
43 43
44 private: 44 private:
45 VoidCallbackFunctionModules(ScriptState*, v8::Local<v8::Function>); 45 VoidCallbackFunctionModules(ScriptState*, v8::Local<v8::Function>);
46 46
47 RefPtr<ScriptState> m_scriptState; 47 RefPtr<ScriptState> m_scriptState;
48 ScopedPersistent<v8::Function> m_callback; 48 TraceWrapperV8Reference<v8::Function> m_callback;
49 }; 49 };
50 50
51 } // namespace blink 51 } // namespace blink
52 52
53 #endif // VoidCallbackFunctionModules_h 53 #endif // VoidCallbackFunctionModules_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698