Index: trunk/Source/core/html/HTMLMediaElement.h |
=================================================================== |
--- trunk/Source/core/html/HTMLMediaElement.h (revision 175712) |
+++ trunk/Source/core/html/HTMLMediaElement.h (working copy) |
@@ -234,7 +234,7 @@ |
// of one of them here. |
virtual ExecutionContext* executionContext() const OVERRIDE FINAL { return HTMLElement::executionContext(); } |
- bool hasSingleSecurityOrigin() const { return webMediaPlayer() && webMediaPlayer()->hasSingleSecurityOrigin(); } |
+ bool hasSingleSecurityOrigin() const { return !m_player || m_player->hasSingleSecurityOrigin(); } |
bool isFullscreen() const; |
void enterFullscreen(); |