Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1942623002: Rename Document::ownerElement to localOwner and fix main frame checks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e102c0b0955a2c01c4bc8865f61e7e256c8929be..b2ceec1ae15f9dfbfdf1bfa61b44cd90c2a8f490 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* localOwnerElement() const;
// Returns true if this document belongs to a frame that the parent document
// made invisible (for instance by setting as style display:none).

Powered by Google App Engine
This is Rietveld 408576698