| Index: Source/core/html/HTMLMediaElement.h
|
| diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
|
| index b797b4c26fbef2ac93ea248ba2f361756884ab8f..8d27da6b63db965bf04e628dcf71c83e3ede44da 100644
|
| --- a/Source/core/html/HTMLMediaElement.h
|
| +++ b/Source/core/html/HTMLMediaElement.h
|
| @@ -250,7 +250,7 @@ public:
|
| // of one of them here.
|
| using HTMLElement::executionContext;
|
|
|
| - bool hasSingleSecurityOrigin() const { return !m_player || m_player->hasSingleSecurityOrigin(); }
|
| + bool hasSingleSecurityOrigin() const { return !m_player || (webMediaPlayer() && webMediaPlayer()->hasSingleSecurityOrigin()); }
|
|
|
| bool isFullscreen() const;
|
| void enterFullscreen();
|
|
|