Index: Source/core/html/HTMLVideoElement.cpp |
diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp |
index 7748b964d1893c7670773a8fea40ff6241c94855..34a0fbb3365e83cf82e9fbd1dace707cb07ab78d 100644 |
--- a/Source/core/html/HTMLVideoElement.cpp |
+++ b/Source/core/html/HTMLVideoElement.cpp |
@@ -115,8 +115,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); |
} |