Index: Source/core/html/HTMLMediaElement.cpp |
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp |
index 40724c9baed9ea85a09f19d4290dd712eaedd73b..9e4a12733fd5475cf49f5b8794729503c8fc3222 100644 |
--- a/Source/core/html/HTMLMediaElement.cpp |
+++ b/Source/core/html/HTMLMediaElement.cpp |
@@ -597,13 +597,12 @@ void HTMLMediaElement::removedFrom(ContainerNode* insertionPoint) |
{ |
WTF_LOG(Media, "HTMLMediaElement::removedFrom(%p, %p)", this, insertionPoint); |
+ HTMLElement::removedFrom(insertionPoint); |
if (insertionPoint->inActiveDocument()) { |
configureMediaControls(); |
if (m_networkState > NETWORK_EMPTY) |
pause(); |
} |
- |
- HTMLElement::removedFrom(insertionPoint); |
} |
void HTMLMediaElement::attach(const AttachContext& context) |