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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2021573002: MSE: Reset delaying-the-load-event-flag on attachment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed foolip@'s nits Created 4 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 | « third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-attach-stops-delaying-load-event.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
index 76a40bcf2f7241d937a90b544ee2a342e96c99ce..895db1881ec7718bf2323ecba0596c9f09a62fab 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3613,6 +3613,7 @@ void HTMLMediaElement::setWebLayer(WebLayer* webLayer)
void HTMLMediaElement::mediaSourceOpened(WebMediaSource* webMediaSource)
{
+ setShouldDelayLoadEvent(false);
m_mediaSource->setWebMediaSourceAndOpen(wrapUnique(webMediaSource));
}
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/media/media-source/mediasource-attach-stops-delaying-load-event.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698