| Index: third_party/WebKit/Source/core/dom/Document.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
|
| index 43ed093dbc516aaf3c216bd60c42fe9ce8952af6..e047786c4634519804cdf62e73eb90ec6728d0f1 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -691,9 +691,9 @@ public:
|
| void updateViewportDescription();
|
| void processReferrerPolicy(const String& policy);
|
|
|
| - // Returns the owning element in the parent document.
|
| - // Returns nullptr if this is the top level document.
|
| - HTMLFrameOwnerElement* ownerElement() const;
|
| + // Returns the owning element in the parent document. Returns nullptr if
|
| + // this is the top level document or the owner is remote.
|
| + HTMLFrameOwnerElement* localOwner() const;
|
|
|
| // Returns true if this document belongs to a frame that the parent document
|
| // made invisible (for instance by setting as style display:none).
|
| @@ -1065,6 +1065,8 @@ public:
|
| void setRootScroller(Element*, ExceptionState&);
|
| Element* rootScroller();
|
|
|
| + bool isInMainFrame() const;
|
| +
|
| protected:
|
| Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
|
|
|
|
|