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

Unified Diff: Source/modules/mediasource/SourceBufferList.cpp

Issue 363953002: Oilpan: have the media element safely close its MediaSource. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidy clearing of m_attachedElement 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/mediasource/SourceBuffer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBufferList.cpp
diff --git a/Source/modules/mediasource/SourceBufferList.cpp b/Source/modules/mediasource/SourceBufferList.cpp
index d79c7f6afae48bc59de1ba784237a02df611e3e5..02499dec97da3112b736bd1d70c64f0d8dcb2dbf 100644
--- a/Source/modules/mediasource/SourceBufferList.cpp
+++ b/Source/modules/mediasource/SourceBufferList.cpp
@@ -46,7 +46,9 @@ SourceBufferList::SourceBufferList(ExecutionContext* context, GenericEventQueue*
SourceBufferList::~SourceBufferList()
{
+#if !ENABLE(OILPAN)
ASSERT(m_list.isEmpty());
+#endif
}
void SourceBufferList::add(SourceBuffer* buffer)
« no previous file with comments | « Source/modules/mediasource/SourceBuffer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698