summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLVideoElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLVideoElement.cpp')
-rw-r--r--Source/WebCore/html/HTMLVideoElement.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/WebCore/html/HTMLVideoElement.cpp b/Source/WebCore/html/HTMLVideoElement.cpp
index 0e0e22f71..4caadefb9 100644
--- a/Source/WebCore/html/HTMLVideoElement.cpp
+++ b/Source/WebCore/html/HTMLVideoElement.cpp
@@ -116,8 +116,6 @@ void HTMLVideoElement::parseAttribute(const Attribute& attribute)
m_imageLoader = adoptPtr(new HTMLImageLoader(this));
m_imageLoader->updateFromElementIgnoringPreviousError();
} else {
- if (m_imageLoader)
- m_imageLoader.clear();
if (renderer())
toRenderImage(renderer())->imageResource()->setCachedImage(0);
}