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

Unified Diff: Source/core/svg/SVGViewElement.h

Issue 169033002: Drop [LegacyImplementedInBaseClass] from SVGFitToViewBox IDL interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Further refactoring Created 6 years, 10 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/SVGViewElement.h
diff --git a/Source/core/svg/SVGViewElement.h b/Source/core/svg/SVGViewElement.h
index b5884bee59577335c543a57e5d6efd5f5cbde547..134b1ef6ebcba1f72461b52eeb3c0038966af734 100644
--- a/Source/core/svg/SVGViewElement.h
+++ b/Source/core/svg/SVGViewElement.h
@@ -23,8 +23,6 @@
#include "SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
-#include "core/svg/SVGAnimatedPreserveAspectRatio.h"
-#include "core/svg/SVGAnimatedRect.h"
#include "core/svg/SVGElement.h"
#include "core/svg/SVGFitToViewBox.h"
#include "core/svg/SVGStaticStringList.h"
@@ -41,12 +39,9 @@ public:
using SVGElement::ref;
using SVGElement::deref;
- SVGAnimatedRect* viewBox() { return m_viewBox.get(); }
-
SVGStringListTearOff* viewTarget() { return m_viewTarget->tearOff(); }
SVGZoomAndPanType zoomAndPan() const { return m_zoomAndPan; }
void setZoomAndPan(unsigned short zoomAndPan) { m_zoomAndPan = SVGZoomAndPan::parseFromNumber(zoomAndPan); }
- SVGAnimatedPreserveAspectRatio* preserveAspectRatio() { return m_preserveAspectRatio.get(); }
private:
explicit SVGViewElement(Document&);
@@ -57,8 +52,6 @@ private:
virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
- RefPtr<SVGAnimatedRect> m_viewBox;
- RefPtr<SVGAnimatedPreserveAspectRatio> m_preserveAspectRatio;
RefPtr<SVGStaticStringList> m_viewTarget;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGViewElement)
END_DECLARE_ANIMATED_PROPERTIES

Powered by Google App Engine
This is Rietveld 408576698