| Index: third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
|
| index df5b57778abdab73a05531eda1118616a8fa18d0..f652601ddcbb7634db188baefc5f1ea0f4eabfef 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp
|
| @@ -156,7 +156,7 @@ void SVGDocumentExtensions::reportError(const String& message)
|
| void SVGDocumentExtensions::addPendingResource(const AtomicString& id, Element* element)
|
| {
|
| ASSERT(element);
|
| - ASSERT(element->inDocument());
|
| + ASSERT(element->inShadowIncludingDocument());
|
|
|
| if (id.isEmpty())
|
| return;
|
|
|