| OLD | NEW |
| 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 | 5 |
| 6 #include "config.h" | |
| 7 #include "core/events/PromiseRejectionEvent.h" | 6 #include "core/events/PromiseRejectionEvent.h" |
| 8 | 7 |
| 9 #include "bindings/core/v8/DOMWrapperWorld.h" | 8 #include "bindings/core/v8/DOMWrapperWorld.h" |
| 10 | 9 |
| 11 namespace blink { | 10 namespace blink { |
| 12 | 11 |
| 13 PromiseRejectionEvent::PromiseRejectionEvent() | 12 PromiseRejectionEvent::PromiseRejectionEvent() |
| 14 { | 13 { |
| 15 } | 14 } |
| 16 | 15 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 { | 77 { |
| 79 data.GetParameter()->m_promise.clear(); | 78 data.GetParameter()->m_promise.clear(); |
| 80 } | 79 } |
| 81 | 80 |
| 82 void PromiseRejectionEvent::didCollectReason(const v8::WeakCallbackInfo<PromiseR
ejectionEvent>& data) | 81 void PromiseRejectionEvent::didCollectReason(const v8::WeakCallbackInfo<PromiseR
ejectionEvent>& data) |
| 83 { | 82 { |
| 84 data.GetParameter()->m_reason.clear(); | 83 data.GetParameter()->m_reason.clear(); |
| 85 } | 84 } |
| 86 | 85 |
| 87 } // namespace blink | 86 } // namespace blink |
| OLD | NEW |