Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index f5fb8f9311ddbe67a339b11b7c983bc1d9e04ec9..f48b032844a0fad62657ee33cee8ead5666b9c78 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -423,6 +423,12 @@ void HTMLMediaElement::parseAttribute(const QualifiedName& name, const AtomicStr |
} |
} |
+void HTMLMediaElement::finishParsingAttributes() |
+{ |
+ if (fastHasAttribute(mutedAttr)) |
+ m_muted = true; |
+} |
+ |
void HTMLMediaElement::finishParsingChildren() |
{ |
HTMLElement::finishParsingChildren(); |
@@ -830,8 +836,6 @@ void HTMLMediaElement::loadResource(const KURL& url, ContentType& contentType, c |
if (!autoplay()) |
setPlayerPreload(); |
- if (fastHasAttribute(mutedAttr)) |
- m_muted = true; |
updateVolume(); |
ASSERT(!m_mediaSource); |