| Index: Source/core/html/HTMLMediaElement.h
|
| diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h
|
| index 4527a8b181f658beb00217856d6b8fedbb771be1..034fac9ef852bbc3dc2c7ef1a53f9deb870aecc2 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();
|
|
|