Index: Source/core/svg/SVGViewSpec.cpp |
diff --git a/Source/core/svg/SVGViewSpec.cpp b/Source/core/svg/SVGViewSpec.cpp |
index b3201072998c43f8e1cec0671f7a81c95b0fe88f..d7e69c59d855b732f8dfc1ea987f59de784789b7 100644 |
--- a/Source/core/svg/SVGViewSpec.cpp |
+++ b/Source/core/svg/SVGViewSpec.cpp |
@@ -139,7 +139,7 @@ SVGElement* SVGViewSpec::viewTarget() const |
{ |
if (!m_contextElement) |
return 0; |
- Element* element = m_contextElement.get()->treeScope().getElementById(m_viewTargetString); |
+ Element* element = m_contextElement.get()->treeScope().getElementById(AtomicString(m_viewTargetString)); |
if (!element || !element->isSVGElement()) |
return 0; |
return toSVGElement(element); |