| Index: third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| index de290bccc9bfb438b609e4634474d4351cb082bf..d0bf597f41a5725b68521c02ba9abef9fdea39da 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp
|
| @@ -181,7 +181,7 @@ void HTMLOptGroupElement::updateGroupLabel() {
|
| }
|
|
|
| HTMLDivElement& HTMLOptGroupElement::optGroupLabelElement() const {
|
| - return *toHTMLDivElement(userAgentShadowRoot()->getElementById(
|
| + return *toHTMLDivElementOrDie(userAgentShadowRoot()->getElementById(
|
| ShadowElementNames::optGroupLabel()));
|
| }
|
|
|
|
|