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

Side by Side Diff: third_party/WebKit/Source/core/events/PromiseRejectionEvent.cpp

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 years, 7 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
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 #include "core/events/PromiseRejectionEvent.h" 5 #include "core/events/PromiseRejectionEvent.h"
6 6
7 #include "bindings/core/v8/DOMWrapperWorld.h" 7 #include "platform/bindings/DOMWrapperWorld.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 PromiseRejectionEvent::PromiseRejectionEvent( 11 PromiseRejectionEvent::PromiseRejectionEvent(
12 ScriptState* state, 12 ScriptState* state,
13 const AtomicString& type, 13 const AtomicString& type,
14 const PromiseRejectionEventInit& initializer) 14 const PromiseRejectionEventInit& initializer)
15 : Event(type, initializer), 15 : Event(type, initializer),
16 world_(state->World()), 16 world_(state->World()),
17 promise_(this), 17 promise_(this),
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 DEFINE_TRACE(PromiseRejectionEvent) { 65 DEFINE_TRACE(PromiseRejectionEvent) {
66 Event::Trace(visitor); 66 Event::Trace(visitor);
67 } 67 }
68 68
69 DEFINE_TRACE_WRAPPERS(PromiseRejectionEvent) { 69 DEFINE_TRACE_WRAPPERS(PromiseRejectionEvent) {
70 visitor->TraceWrappers(promise_); 70 visitor->TraceWrappers(promise_);
71 visitor->TraceWrappers(reason_); 71 visitor->TraceWrappers(reason_);
72 } 72 }
73 73
74 } // namespace blink 74 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/PromiseRejectionEvent.h ('k') | third_party/WebKit/Source/core/events/TouchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698