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

Side by Side Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef PromiseRejectionEvent_h 5 #ifndef PromiseRejectionEvent_h
6 #define PromiseRejectionEvent_h 6 #define PromiseRejectionEvent_h
7 7
8 #include "bindings/core/v8/DOMWrapperWorld.h" 8 #include "bindings/core/v8/DOMWrapperWorld.h"
9 #include "bindings/core/v8/ScopedPersistent.h" 9 #include "bindings/core/v8/ScopedPersistent.h"
10 #include "bindings/core/v8/ScriptPromise.h" 10 #include "bindings/core/v8/ScriptPromise.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 DECLARE_VIRTUAL_TRACE_WRAPPERS(); 44 DECLARE_VIRTUAL_TRACE_WRAPPERS();
45 45
46 private: 46 private:
47 PromiseRejectionEvent(ScriptState*, 47 PromiseRejectionEvent(ScriptState*,
48 const AtomicString&, 48 const AtomicString&,
49 const PromiseRejectionEventInit&); 49 const PromiseRejectionEventInit&);
50 ~PromiseRejectionEvent() override; 50 ~PromiseRejectionEvent() override;
51 void dispose(); 51 void dispose();
52 52
53 RefPtr<ScriptState> m_scriptState; 53 RefPtr<ScriptState> m_scriptState;
54 ScopedPersistent<v8::Value> m_promise; 54 TraceWrapperV8Reference<v8::Value> m_promise;
55 ScopedPersistent<v8::Value> m_reason; 55 TraceWrapperV8Reference<v8::Value> m_reason;
56 }; 56 };
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // PromiseRejectionEvent_h 60 #endif // PromiseRejectionEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/EventTarget.cpp ('k') | third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698