| 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();
|
| }
|
|
|
|
|