Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index a709141682132ddc3829fd251ecc4500baed28bc..b4f6f317e0332e166d021799fe80fb94266a9fe9 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -827,8 +827,8 @@ 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(); |
+ if (hasMediaControls()) |
+ mediaControls()->reset(); |
} |
void HTMLMediaElement::loadInternal() |