| Index: third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| index 0091e379c49c51509fc433fdddcdec468b55db6e..17d3f5df7245cfc824dd22ba984b7d339bcf7d87 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp
|
| @@ -451,7 +451,8 @@ void SVGUseElement::buildShadowAndInstanceTree(SVGElement& target) {
|
|
|
| // If the instance root was a <use>, it could have been replaced now, so
|
| // reset |m_targetElementInstance|.
|
| - m_targetElementInstance = toSVGElement(shadowTreeRootElement->firstChild());
|
| + m_targetElementInstance =
|
| + toSVGElementOrDie(shadowTreeRootElement->firstChild());
|
| ASSERT(m_targetElementInstance->parentNode() == shadowTreeRootElement);
|
|
|
| // Update relative length information.
|
|
|