Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index d424be0779c99cef4adcd8bf8da8a4a6f1454c0d..d9e5a5630dcceb3e0a213fc3615e91c91eded1bb 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -123,8 +123,8 @@ void HTMLVideoElement::parseAttribute(const QualifiedName& name, const AtomicStr |
toRenderImage(renderer())->imageResource()->setImageResource(0); |
} |
// Notify the player when the poster image URL changes. |
- if (player()) |
- player()->setPoster(posterImageURL()); |
+ if (webMediaPlayer()) |
+ webMediaPlayer()->setPoster(posterImageURL()); |
} else |
HTMLMediaElement::parseAttribute(name, value); |
} |