| Index: Source/core/html/HTMLDetailsElement.cpp
|
| diff --git a/Source/core/html/HTMLDetailsElement.cpp b/Source/core/html/HTMLDetailsElement.cpp
|
| index 32a1fe8f042c498c74be28b64335c8c1cca64b51..e88582f38346562b1a90eb2a2c08632017d8e353 100644
|
| --- a/Source/core/html/HTMLDetailsElement.cpp
|
| +++ b/Source/core/html/HTMLDetailsElement.cpp
|
| @@ -83,7 +83,7 @@ Element* HTMLDetailsElement::findMainSummary() const
|
| return summary;
|
|
|
| HTMLContentElement* content = toHTMLContentElement(userAgentShadowRoot()->firstChild());
|
| - ASSERT(content->firstChild() && content->firstChild()->hasTagName(summaryTag));
|
| + ASSERT(content->firstChild() && isHTMLSummaryElement(*content->firstChild()));
|
| return toElement(content->firstChild());
|
| }
|
|
|
|
|