Bug 265894 - (followup) Remove SVGSVGElement::HasPreserveAspectRatio declaration. r=me
authorcku <cku@mozilla.com>
Wed, 21 Jun 2017 12:59:39 +0800
changeset 413986 93e4115d18670235f950ecaf9ce66559abb6024a
parent 413985 a4754c051537dc1b2ede96733d3e2d4a30d571df
child 413987 683bf7d44d1a257fcb81a6739f58ff1ed6b7396c
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs265894
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 265894 - (followup) Remove SVGSVGElement::HasPreserveAspectRatio declaration. r=me MozReview-Commit-ID: BqH35waTSUk
dom/svg/SVGSVGElement.h
--- a/dom/svg/SVGSVGElement.h
+++ b/dom/svg/SVGSVGElement.h
@@ -209,21 +209,16 @@ private:
    * parameters passed in instead.
    */
   bool WillBeOutermostSVG(nsIContent* aParent,
                           nsIContent* aBindingParent) const;
 
   // invalidate viewbox -> viewport xform & inform frames
   void InvalidateTransformNotifyFrame();
 
-  // Returns true if we have at least one of the following:
-  // - a (valid or invalid) value for the preserveAspectRatio attribute
-  // - a SMIL-animated value for the preserveAspectRatio attribute
-  bool HasPreserveAspectRatio();
-
   // Methods for <image> elements to override my "PreserveAspectRatio" value.
   // These are private so that only our friends
   // (AutoPreserveAspectRatioOverride in particular) have access.
   void SetImageOverridePreserveAspectRatio(const SVGPreserveAspectRatio& aPAR);
   void ClearImageOverridePreserveAspectRatio();
 
   // Set/Clear properties to hold old version of preserveAspectRatio
   // when it's being overridden by an <image> element that we are inside of.