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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp

Issue 1420263002: Remove some dead code in SVG "mixins" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
index 6771cd73f29a38633be1f1f944aaa81a56436817..481777b5e6bdbcd940797bbdd71334f2082d9f51 100644
--- a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
@@ -96,12 +96,6 @@ bool SVGFitToViewBox::isKnownAttribute(const QualifiedName& attrName)
return attrName == SVGNames::viewBoxAttr || attrName == SVGNames::preserveAspectRatioAttr;
}
-void SVGFitToViewBox::addSupportedAttributes(HashSet<QualifiedName>& supportedAttributes)
-{
- supportedAttributes.add(SVGNames::viewBoxAttr);
- supportedAttributes.add(SVGNames::preserveAspectRatioAttr);
-}
-
void SVGFitToViewBox::updateViewBox(const FloatRect& rect)
{
ASSERT(m_viewBox);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFitToViewBox.h ('k') | third_party/WebKit/Source/core/svg/SVGGraphicsElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698