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

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 mlamouri's comment intent: load must occur before sourceopen in test 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
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 ed596d00d9df66b3052914fec0e6c9c47b0352e2..884b3d165f5e1ff99babbfff36e74511289f652c 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
@@ -3612,6 +3612,7 @@ void HTMLMediaElement::setWebLayer(WebLayer* webLayer)
void HTMLMediaElement::mediaSourceOpened(WebMediaSource* webMediaSource)
{
+ setShouldDelayLoadEvent(false);
m_mediaSource->setWebMediaSourceAndOpen(adoptPtr(webMediaSource));
}

Powered by Google App Engine
This is Rietveld 408576698