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

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

Issue 294783002: Remove SVGSymbolElement::selfHasRelativeLengths (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Mark for NeedsRebaseline Created 6 years, 7 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/SVGSymbolElement.h ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGSymbolElement.cpp
diff --git a/Source/core/svg/SVGSymbolElement.cpp b/Source/core/svg/SVGSymbolElement.cpp
index ed159d96e66e38c0ea64f38a87b2d2c1dc03086c..6991b4688afa765e0307814e13897de9d36c3b84 100644
--- a/Source/core/svg/SVGSymbolElement.cpp
+++ b/Source/core/svg/SVGSymbolElement.cpp
@@ -67,16 +67,7 @@ void SVGSymbolElement::svgAttributeChanged(const QualifiedName& attrName)
return;
}
- SVGElement::InvalidationGuard invalidationGuard(this);
-
- // Every other property change is ignored.
- if (attrName == SVGNames::viewBoxAttr)
- updateRelativeLengthsInformation();
-}
-
-bool SVGSymbolElement::selfHasRelativeLengths() const
-{
- return hasAttribute(SVGNames::viewBoxAttr);
+ invalidateInstances();
}
RenderObject* SVGSymbolElement::createRenderer(RenderStyle*)
« no previous file with comments | « Source/core/svg/SVGSymbolElement.h ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698