Bug 920847 - Remove gfxSize reference from Azure; r=kats
authorAnthony Jones <ajones@mozilla.com>
Fri, 27 Sep 2013 14:24:46 +1200
changeset 148923 da123d3e4073c53246aeaad0e24afc73fd617616
parent 148922 7ccdb7bec8b2630e5eb68d0f369d09c6c0866aa6
child 148924 66173e4d27354fa667d2ba9fd86bd634771c8bf4
push id34383
push userajones@mozilla.com
push dateFri, 27 Sep 2013 02:24:54 +0000
treeherdermozilla-inbound@da123d3e4073 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs920847
milestone27.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 920847 - Remove gfxSize reference from Azure; r=kats
gfx/2d/ScaleFactor.h
--- a/gfx/2d/ScaleFactor.h
+++ b/gfx/2d/ScaleFactor.h
@@ -31,20 +31,16 @@ struct ScaleFactor {
   MOZ_CONSTEXPR ScaleFactor() : scale(1.0) {}
   MOZ_CONSTEXPR ScaleFactor(const ScaleFactor<src, dst>& aCopy) : scale(aCopy.scale) {}
   explicit MOZ_CONSTEXPR ScaleFactor(float aScale) : scale(aScale) {}
 
   explicit ScaleFactor(float aX, float aY) : scale(aX) {
     MOZ_ASSERT(fabs(aX - aY) < 1e-6);
   }
 
-  explicit ScaleFactor(gfxSize aScale) : scale(aScale.width) {
-    MOZ_ASSERT(fabs(aScale.width - aScale.height) < 1e-6);
-  }
-
   ScaleFactor<dst, src> Inverse() {
     return ScaleFactor<dst, src>(1 / scale);
   }
 
   bool operator==(const ScaleFactor<src, dst>& aOther) const {
     return scale == aOther.scale;
   }