Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index 476cdd9dc01642d4a7138007886a024b997f4b5e..9354a1bdd0c1ae364b8bb8c77151bb3590af0162 100644 |
--- a/Source/core/svg/SVGUseElement.cpp |
+++ b/Source/core/svg/SVGUseElement.cpp |
@@ -94,7 +94,7 @@ SVGElementInstance* SVGUseElement::instanceRoot() |
// wait for the lazy creation to happen if e.g. JS wants to access the instanceRoot |
// object right after creating the element on-the-fly |
if (!m_targetElementInstance) |
- document().updateStyleIfNeeded(); |
+ document().updateRenderTreeIfNeeded(); |
return m_targetElementInstance.get(); |
} |