Index: Source/core/svg/SVGAElement.cpp |
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp |
index 84fa34de617d768465bf3a50555afc8ad5c77d32..f6a71939dafdefce4fe7ab9f39bc5da3dc5b0c15 100644 |
--- a/Source/core/svg/SVGAElement.cpp |
+++ b/Source/core/svg/SVGAElement.cpp |
@@ -162,7 +162,7 @@ void SVGAElement::defaultEventHandler(Event* event) |
String url = stripLeadingAndTrailingHTMLSpaces(hrefCurrentValue()); |
if (url[0] == '#') { |
- Element* targetElement = treeScope().getElementById(url.substring(1)); |
+ Element* targetElement = treeScope()->getElementById(url.substring(1)); |
if (SVGSMILElement::isSMILElement(targetElement)) { |
toSVGSMILElement(targetElement)->beginByLinkActivation(); |
event->setDefaultHandled(); |