Index: Source/core/svg/SVGAElement.cpp |
diff --git a/Source/core/svg/SVGAElement.cpp b/Source/core/svg/SVGAElement.cpp |
index 5982da1283e346d42a64c971e0edcc0563a11a5c..4f3536c6e349c6326780fdf4f39491df831ddb18 100644 |
--- a/Source/core/svg/SVGAElement.cpp |
+++ b/Source/core/svg/SVGAElement.cpp |
@@ -161,7 +161,7 @@ void SVGAElement::defaultEventHandler(Event* event) |
String url = stripLeadingAndTrailingHTMLSpaces(hrefCurrentValue()); |
if (url[0] == '#') { |
- Element* targetElement = treeScope().getElementById(url.substring(1)); |
+ Element* targetElement = treeScope().getElementById(AtomicString(url.substring(1))); |
if (targetElement && isSVGSMILElement(*targetElement)) { |
toSVGSMILElement(targetElement)->beginByLinkActivation(); |
event->setDefaultHandled(); |