| Index: Source/core/html/HTMLSummaryElement.cpp
|
| diff --git a/Source/core/html/HTMLSummaryElement.cpp b/Source/core/html/HTMLSummaryElement.cpp
|
| index 5c2ce1b8d2955f771a40ea7933df5bf87f9e2dda..39388f8bdb1cae33dc5cf6a47137099a52dd7dcb 100644
|
| --- a/Source/core/html/HTMLSummaryElement.cpp
|
| +++ b/Source/core/html/HTMLSummaryElement.cpp
|
| @@ -100,7 +100,7 @@ bool HTMLSummaryElement::supportsFocus() const
|
|
|
| void HTMLSummaryElement::defaultEventHandler(Event* event)
|
| {
|
| - if (isMainSummary() && renderer()) {
|
| + if (isMainSummary() && layoutObject()) {
|
| if (event->type() == EventTypeNames::DOMActivate && !isClickableControl(event->target()->toNode())) {
|
| if (HTMLDetailsElement* details = detailsElement())
|
| details->toggleOpen();
|
| @@ -140,7 +140,7 @@ void HTMLSummaryElement::defaultEventHandler(Event* event)
|
|
|
| bool HTMLSummaryElement::willRespondToMouseClickEvents()
|
| {
|
| - if (isMainSummary() && renderer())
|
| + if (isMainSummary() && layoutObject())
|
| return true;
|
|
|
| return HTMLElement::willRespondToMouseClickEvents();
|
|
|