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 155dc2002df7fabaf3931f9651a1a14db718c300..848977a8c55afef5d40533597c9cc9bee470dcb2 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
@@ -696,6 +696,8 @@ void SVGUseElement::expandSymbolElementsInShadowTree(SVGElement* element) |
// Expand the siblings because the *element* is replaced and we will |
// lose the sibling chain when we are back from recursion. |
element = replacingElement.get(); |
+ for (RefPtrWillBeRawPtr<SVGElement> sibling = Traversal<SVGElement>::nextSibling(*element); sibling; sibling = Traversal<SVGElement>::nextSibling(*sibling)) |
+ expandSymbolElementsInShadowTree(sibling.get()); |
} |
for (RefPtrWillBeRawPtr<SVGElement> child = Traversal<SVGElement>::firstChild(*element); child; child = Traversal<SVGElement>::nextSibling(*child)) |