Index: Source/core/svg/SVGSVGElement.cpp |
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp |
index 4f4638ceb05af8f32b0917a9795acf433d5353df..2bcea9774f89203a5d793bce39599775bfa2a080 100644 |
--- a/Source/core/svg/SVGSVGElement.cpp |
+++ b/Source/core/svg/SVGSVGElement.cpp |
@@ -762,7 +762,7 @@ void SVGSVGElement::inheritViewAttributes(SVGViewElement* viewElement) |
// See http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement |
Element* SVGSVGElement::getElementById(const AtomicString& id) const |
{ |
- Element* element = treeScope().getElementById(id); |
+ Element* element = treeScope()->getElementById(id); |
if (element && element->isDescendantOf(this)) |
return element; |