Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1774)

Unified Diff: Source/core/svg/SVGViewSpec.cpp

Issue 121173004: Make calls to AtomicString(const String&) explicit in svg/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take feedback into consideration Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGUseElement.cpp ('k') | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/core/svg/SVGUseElement.cpp ('k') | Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698