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

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

Issue 2537223006: Cleanup after removal of the SVGViewSpec interface (Closed)
Patch Set: SVGViewSpec& Created 4 years 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.h
diff --git a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h
index 02c77297eccf150bc3031f448b9f1ae54f3ea01e..7017697f2871ab39c7d4d90f7b18ae5df3743f22 100644
--- a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h
+++ b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.h
@@ -36,11 +36,6 @@ class AffineTransform;
class SVGFitToViewBox : public GarbageCollectedMixin {
public:
- enum PropertyMapPolicy {
- PropertyMapPolicyAdd,
- PropertyMapPolicySkip,
- };
-
static AffineTransform viewBoxToViewTransform(const FloatRect& viewBoxRect,
SVGPreserveAspectRatio*,
float viewWidth,
@@ -62,11 +57,7 @@ class SVGFitToViewBox : public GarbageCollectedMixin {
DECLARE_VIRTUAL_TRACE();
protected:
- explicit SVGFitToViewBox(SVGElement*,
- PropertyMapPolicy = PropertyMapPolicyAdd);
- void updateViewBox(const FloatRect&);
- void clearViewBox() { m_viewBox = nullptr; }
- void clearPreserveAspectRatio() { m_preserveAspectRatio = nullptr; }
+ explicit SVGFitToViewBox(SVGElement*);
private:
Member<SVGAnimatedRect> m_viewBox;

Powered by Google App Engine
This is Rietveld 408576698