| 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 #include "config.h" | 5 #include "config.h" |
| 6 #include "modules/mediarecorder/MediaRecorder.h" | 6 #include "modules/mediarecorder/MediaRecorder.h" |
| 7 | 7 |
| 8 #include "core/dom/DOMError.h" | 8 #include "core/dom/DOMError.h" |
| 9 #include "core/fileapi/Blob.h" | 9 #include "core/fileapi/Blob.h" |
| 10 #include "modules/EventModules.h" | 10 #include "modules/EventModules.h" |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 WillBeHeapVector<RefPtrWillBeMember<Event>> events; | 277 WillBeHeapVector<RefPtrWillBeMember<Event>> events; |
| 278 events.swap(m_scheduledEvents); | 278 events.swap(m_scheduledEvents); |
| 279 | 279 |
| 280 for (const auto& event : events) | 280 for (const auto& event : events) |
| 281 dispatchEvent(event); | 281 dispatchEvent(event); |
| 282 } | 282 } |
| 283 | 283 |
| 284 DEFINE_TRACE(MediaRecorder) | 284 DEFINE_TRACE(MediaRecorder) |
| 285 { | 285 { |
| 286 visitor->trace(m_stream); | 286 visitor->trace(m_stream); |
| 287 visitor->trace(m_scheduledEvents); |
| 287 RefCountedGarbageCollectedEventTargetWithInlineData<MediaRecorder>::trace(vi
sitor); | 288 RefCountedGarbageCollectedEventTargetWithInlineData<MediaRecorder>::trace(vi
sitor); |
| 288 ActiveDOMObject::trace(visitor); | 289 ActiveDOMObject::trace(visitor); |
| 289 } | 290 } |
| 290 | 291 |
| 291 } // namespace blink | 292 } // namespace blink |
| OLD | NEW |