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

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

Issue 1015743003: [svg] Make svgView override existing data selectively (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
Index: Source/core/svg/SVGSVGElement.cpp
diff --git a/Source/core/svg/SVGSVGElement.cpp b/Source/core/svg/SVGSVGElement.cpp
index 6aa65f51ad2ad5a57ae7f41362c59762cbe49483..58e4d3861c61b161daf85f2b2e9c4c8472a1cb55 100644
--- a/Source/core/svg/SVGSVGElement.cpp
+++ b/Source/core/svg/SVGSVGElement.cpp
@@ -713,6 +713,8 @@ void SVGSVGElement::setupInitialView(const String& fragmentIdentifier, Element*
if (!view)
view = currentView(); // Create the SVGViewSpec.
+ view->reset();
fs 2015/03/18 13:43:08 It feels like this ought to go together with the c
+
if (view->parseViewSpec(fragmentIdentifier))
m_useCurrentView = true;
else

Powered by Google App Engine
This is Rietveld 408576698