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

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

Issue 575563002: Fix adopting a video element with controls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix TestExpectations and add expected test results Created 6 years, 3 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: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index a709141682132ddc3829fd251ecc4500baed28bc..c829246ade5e89bb6c32183ee8e2cc033eff00ea 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -827,12 +827,11 @@ void HTMLMediaElement::prepareForLoad()
// algorithm, but do it now because we won't start that until after the timer fires and the
// event may have already fired by then.
setShouldDelayLoadEvent(true);
-
- configureMediaControls();
}
void HTMLMediaElement::loadInternal()
{
+ configureMediaControls();
philipj_slow 2014/09/16 11:59:39 All existing tests and the one you've added pass i
aberent 2014/09/16 14:45:40 Having failed to create a test in a bit more than
// HTMLMediaElement::textTracksAreReady will need "... the text tracks whose mode was not in the
// disabled state when the element's resource selection algorithm last started".
m_textTracksWhenResourceSelectionBegan.clear();

Powered by Google App Engine
This is Rietveld 408576698