Backed out changeset 0fdae4f78c1a (bug 931996)
authorEd Morley <emorley@mozilla.com>
Fri, 01 Nov 2013 14:34:48 +0000
changeset 153068 c4f51fe7d6379196464dcb91b8123d0647361408
parent 153067 fa28da03e7d9fde3c52e9c6d64f53bb1a65875e2
child 153069 a750c58e428e166e541647bbe73395057ec3e072
push id25566
push userryanvm@gmail.com
push dateFri, 01 Nov 2013 18:40:05 +0000
treeherdermozilla-central@5bb07c1ae9f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs931996
milestone28.0a1
backs out0fdae4f78c1a9f6684caa0b6515820c05a17756f
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
Backed out changeset 0fdae4f78c1a (bug 931996)
gfx/2d/PathHelpers.cpp
gfx/2d/PathHelpers.h
--- a/gfx/2d/PathHelpers.cpp
+++ b/gfx/2d/PathHelpers.cpp
@@ -145,23 +145,11 @@ AppendRoundedRectToPath(PathBuilder* aPa
     } else {
       aPathBuilder->LineTo(pc);
     }
   }
 
   aPathBuilder->Close();
 }
 
-void
-AppendEllipseToPath(PathBuilder* aPathBuilder,
-                    const Point& aCenter,
-                    const Size& aDimensions)
-{
-  Size halfDim = aDimensions / 2.0;
-  Rect rect(aCenter - Point(halfDim.width, halfDim.height), aDimensions);
-  Size radii[] = { halfDim, halfDim, halfDim, halfDim };
-
-  AppendRoundedRectToPath(aPathBuilder, rect, radii);
-}
-
 } // namespace gfx
 } // namespace mozilla
 
--- a/gfx/2d/PathHelpers.h
+++ b/gfx/2d/PathHelpers.h
@@ -94,23 +94,12 @@ void ArcToBezier(T* aSink, const Point &
  *                 clockwise.
  */
 void AppendRoundedRectToPath(PathBuilder* aPathBuilder,
                              const Rect& aRect,
                              // paren's needed due to operator precedence:
                              const Size(& aCornerRadii)[4],
                              bool aDrawClockwise = true);
 
-/**
- * Appends a path represending an ellipse to the path being built by
- * aPathBuilder.
- *
- * The ellipse extends aDimensions.width / 2.0 in the horizontal direction
- * from aCenter, and aDimensions.height / 2.0 in the vertical direction.
- */
-void AppendEllipseToPath(PathBuilder* aPathBuilder,
-                         const Point& aCenter,
-                         const Size& aDimensions);
-
 } // namespace gfx
 } // namespace mozilla
 
 #endif /* MOZILLA_GFX_PATHHELPERS_H_ */