Bug 1376026 - follow-up - fix ScaledFontDWrite construct parameter order. r=me
authorLee Salzman <lsalzman@mozilla.com>
Sun, 23 Jul 2017 21:07:50 -0400
changeset 419219 cf5603f8b18147961f32c75a9d344bad54f6924d
parent 419218 7e74d958657e48ebb889e6db2d121cd4e32c3c8b
child 419220 83e350c46e945d6172c86da8c4cf6b8a85182e59
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
bugs1376026
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 1376026 - follow-up - fix ScaledFontDWrite construct parameter order. r=me
gfx/2d/ScaledFontDWrite.h
--- a/gfx/2d/ScaledFontDWrite.h
+++ b/gfx/2d/ScaledFontDWrite.h
@@ -34,18 +34,18 @@ public:
   {}
 
   ScaledFontDWrite(IDWriteFontFace *aFontFace,
                    const RefPtr<UnscaledFont>& aUnscaledFont,
                    Float aSize,
                    bool aUseEmbeddedBitmap,
                    bool aForceGDIMode,
                    IDWriteRenderingParams *aParams,
+                   Float aGamma,
                    Float aContrast,
-                   Float aGamma,
                    const gfxFontStyle* aStyle = nullptr);
 
   FontType GetType() const override { return FontType::DWRITE; }
 
   already_AddRefed<Path> GetPathForGlyphs(const GlyphBuffer &aBuffer, const DrawTarget *aTarget) override;
   void CopyGlyphsToBuilder(const GlyphBuffer &aBuffer, PathBuilder *aBuilder, const Matrix *aTransformHint) override;
 
   void CopyGlyphsToSink(const GlyphBuffer &aBuffer, ID2D1GeometrySink *aSink);