| Index: third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp b/third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp
|
| index 5a34cbf08bc6c35a3bda87f430fd84fe50aa0e87..e5e515e5bfe3ebddb838cbbdb143cd0ef4cfb03a 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp
|
| @@ -112,9 +112,9 @@ Element* HTMLDetailsElement::findMainSummary() const {
|
| return summary;
|
|
|
| HTMLContentElement* content =
|
| - toHTMLContentElement(userAgentShadowRoot()->firstChild());
|
| + toHTMLContentElementOrDie(userAgentShadowRoot()->firstChild());
|
| DCHECK(content->firstChild());
|
| - DCHECK(isHTMLSummaryElement(*content->firstChild()));
|
| + CHECK(isHTMLSummaryElement(*content->firstChild()));
|
| return toElement(content->firstChild());
|
| }
|
|
|
|
|