| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "modules/remoteplayback/RemotePlayback.h" | 5 #include "modules/remoteplayback/RemotePlayback.h" |
| 6 | 6 |
| 7 #include "bindings/core/v8/ScriptPromiseResolver.h" | 7 #include "bindings/core/v8/ScriptPromiseResolver.h" |
| 8 #include "core/dom/DOMException.h" | 8 #include "core/dom/DOMException.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/events/Event.h" | 10 #include "core/events/Event.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 for (auto& resolver : m_connectPromiseResolvers) | 161 for (auto& resolver : m_connectPromiseResolvers) |
| 162 resolver->resolve(false); | 162 resolver->resolve(false); |
| 163 m_connectPromiseResolvers.clear(); | 163 m_connectPromiseResolvers.clear(); |
| 164 } | 164 } |
| 165 | 165 |
| 166 DEFINE_TRACE(RemotePlayback) | 166 DEFINE_TRACE(RemotePlayback) |
| 167 { | 167 { |
| 168 visitor->trace(m_availabilityObjects); | 168 visitor->trace(m_availabilityObjects); |
| 169 visitor->trace(m_mediaElement); | 169 visitor->trace(m_mediaElement); |
| 170 visitor->trace(m_connectPromiseResolvers); | 170 visitor->trace(m_connectPromiseResolvers); |
| 171 RefCountedGarbageCollectedEventTargetWithInlineData<RemotePlayback>::trace(v
isitor); | 171 EventTargetWithInlineData::trace(visitor); |
| 172 DOMWindowProperty::trace(visitor); | 172 DOMWindowProperty::trace(visitor); |
| 173 } | 173 } |
| 174 | 174 |
| 175 } // namespace blink | 175 } // namespace blink |
| OLD | NEW |