Index: Source/core/html/HTMLVideoElement.h |
diff --git a/Source/core/html/HTMLVideoElement.h b/Source/core/html/HTMLVideoElement.h |
index 12f2a6fe8f2c71b9e097180c7f5573ba42cc7afd..a52f4f21ddb657eab045d1f8c1ae5fa09d1cc949 100644 |
--- a/Source/core/html/HTMLVideoElement.h |
+++ b/Source/core/html/HTMLVideoElement.h |
@@ -84,7 +84,7 @@ private: |
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE; |
virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE; |
- virtual bool hasVideo() const OVERRIDE { return player() && player()->hasVideo(); } |
+ virtual bool hasVideo() const OVERRIDE { return webMediaPlayer() && webMediaPlayer()->hasVideo(); } |
bool supportsFullscreen() const; |
virtual bool isURLAttribute(const Attribute&) const OVERRIDE; |
virtual const AtomicString imageSourceURL() const OVERRIDE; |