| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index 87b1339ab97b91a034580ebb6d0f7f4f2684cb9f..96e09963e585bf0bd33ec4167121c625813b7251 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -317,6 +317,13 @@ public:
|
| PageVisibilityState pageVisibilityState() const override;
|
| String autoplayExperimentMode() const override;
|
|
|
| + // Frame
|
| + bool isCrossOrigin() const override
|
| + {
|
| + const Frame* frame = m_element->document().frame();
|
| + return frame && frame->isCrossOrigin();
|
| + }
|
| +
|
| // LayoutObject
|
| void setRequestPositionUpdates(bool) override;
|
| IntRect absoluteBoundingBoxRect() const override;
|
|
|