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

Side by Side Diff: Source/modules/mediasource/MediaSource.cpp

Issue 331623002: Oilpan: Prepare to move EventQueue and its subclasses to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 return EventTargetNames::MediaSource; 252 return EventTargetNames::MediaSource;
253 } 253 }
254 254
255 ExecutionContext* MediaSource::executionContext() const 255 ExecutionContext* MediaSource::executionContext() const
256 { 256 {
257 return ActiveDOMObject::executionContext(); 257 return ActiveDOMObject::executionContext();
258 } 258 }
259 259
260 void MediaSource::trace(Visitor* visitor) 260 void MediaSource::trace(Visitor* visitor)
261 { 261 {
262 visitor->trace(m_asyncEventQueue);
262 visitor->trace(m_sourceBuffers); 263 visitor->trace(m_sourceBuffers);
263 visitor->trace(m_activeSourceBuffers); 264 visitor->trace(m_activeSourceBuffers);
264 EventTargetWithInlineData::trace(visitor); 265 EventTargetWithInlineData::trace(visitor);
265 } 266 }
266 267
267 void MediaSource::setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource> webMediaSo urce) 268 void MediaSource::setWebMediaSourceAndOpen(PassOwnPtr<WebMediaSource> webMediaSo urce)
268 { 269 {
269 TRACE_EVENT_ASYNC_END0("media", "MediaSource::attachToElement", this); 270 TRACE_EVENT_ASYNC_END0("media", "MediaSource::attachToElement", this);
270 ASSERT(webMediaSource); 271 ASSERT(webMediaSource);
271 ASSERT(!m_webMediaSource); 272 ASSERT(!m_webMediaSource);
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 517
517 m_asyncEventQueue->enqueueEvent(event.release()); 518 m_asyncEventQueue->enqueueEvent(event.release());
518 } 519 }
519 520
520 URLRegistry& MediaSource::registry() const 521 URLRegistry& MediaSource::registry() const
521 { 522 {
522 return MediaSourceRegistry::registry(); 523 return MediaSourceRegistry::registry();
523 } 524 }
524 525
525 } // namespace WebCore 526 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698