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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp

Issue 2327743002: Rename Node::shadowHost() to Node::ownerShadowHost() (Closed)
Patch Set: fix Created 4 years, 3 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/html/HTMLSummaryElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
index 6897c92bcce60a723b15bdd9daf3bae310fdd086..96289cd611da91634271cf2aaec004bc3f9c3ebf 100644
--- a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
@@ -65,7 +65,7 @@ HTMLDetailsElement* HTMLSummaryElement::detailsElement() const
Node* parent = parentNode();
if (isHTMLDetailsElement(parent))
return toHTMLDetailsElement(parent);
- Element* host = shadowHost();
+ Element* host = ownerShadowHost();
if (isHTMLDetailsElement(host))
return toHTMLDetailsElement(host);
return nullptr;
@@ -91,7 +91,7 @@ static bool isClickableControl(Node* node)
Element* element = toElement(node);
if (element->isFormControlElement())
return true;
- Element* host = element->shadowHost();
+ Element* host = element->ownerShadowHost();
return host && host->isFormControlElement();
}

Powered by Google App Engine
This is Rietveld 408576698