| Index: Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
|
| index e64a10fd0aa63fa70bd7c1a0daedc0f29a5d553a..54e3b123ca538de770aa1a065073eeb3c3cdc42f 100644
|
| --- a/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/Source/core/html/HTMLVideoElement.cpp
|
| @@ -91,7 +91,7 @@ void HTMLVideoElement::attach(const AttachContext& context)
|
| m_imageLoader = HTMLImageLoader::create(this);
|
| m_imageLoader->updateFromElement();
|
| if (layoutObject())
|
| - toLayoutImage(layoutObject())->imageResource()->setImageResource(m_imageLoader->image());
|
| + toLayoutImage(layoutObject())->imageResource()->setImageResource(m_imageLoader->image(), document().completeURL(posterImageURL()));
|
| }
|
| }
|
|
|
| @@ -128,7 +128,7 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name, const AtomicStr
|
| m_imageLoader->updateFromElement(ImageLoader::UpdateIgnorePreviousError);
|
| } else {
|
| if (layoutObject())
|
| - toLayoutImage(layoutObject())->imageResource()->setImageResource(0);
|
| + toLayoutImage(layoutObject())->imageResource()->setImageResource(0, KURL());
|
| }
|
| // Notify the player when the poster image URL changes.
|
| if (webMediaPlayer())
|
|
|