| Index: Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
|
| index e64a10fd0aa63fa70bd7c1a0daedc0f29a5d553a..2512e4ec57a89df9edb7a6d504078e3039053079 100644
|
| --- a/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/Source/core/html/HTMLVideoElement.cpp
|
| @@ -89,7 +89,7 @@ void HTMLVideoElement::attach(const AttachContext& context)
|
| if (shouldDisplayPosterImage()) {
|
| if (!m_imageLoader)
|
| m_imageLoader = HTMLImageLoader::create(this);
|
| - m_imageLoader->updateFromElement();
|
| + m_imageLoader->updateFromElement(0);
|
| if (layoutObject())
|
| toLayoutImage(layoutObject())->imageResource()->setImageResource(m_imageLoader->image());
|
| }
|
| @@ -125,7 +125,7 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name, const AtomicStr
|
| if (!posterImageURL().isEmpty()) {
|
| if (!m_imageLoader)
|
| m_imageLoader = HTMLImageLoader::create(this);
|
| - m_imageLoader->updateFromElement(ImageLoader::UpdateIgnorePreviousError);
|
| + m_imageLoader->updateFromElement(0, ImageLoader::UpdateIgnorePreviousError);
|
| } else {
|
| if (layoutObject())
|
| toLayoutImage(layoutObject())->imageResource()->setImageResource(0);
|
|
|