Fixup bug 1475139 for MSVC. r=me
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 09 Oct 2018 11:31:41 +0900
changeset 495862 150a7a5613b7cfc2adac4c801f29391c414042ff
parent 495861 70b36ec329e7ff9139c098f0a029243a57df61be
child 495863 ccbd30a9a23a7b979abb27211a095aa43d424bcc
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1475139
milestone64.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
Fixup bug 1475139 for MSVC. r=me
gfx/ipc/CrossProcessPaint.cpp
--- a/gfx/ipc/CrossProcessPaint.cpp
+++ b/gfx/ipc/CrossProcessPaint.cpp
@@ -32,17 +32,17 @@
 #endif
 
 namespace mozilla {
 namespace gfx {
 
 using namespace mozilla::ipc;
 
 /// The minimum scale we allow tabs to be rasterized at.
-static const float kMinPaintScale = 0.05;
+static const float kMinPaintScale = 0.05f;
 
 /* static */ PaintFragment
 PaintFragment::Record(nsIDocShell* aDocShell,
                       const IntRect& aRect,
                       float aScale,
                       nscolor aBackgroundColor)
 {
   IntSize surfaceSize = aRect.Size();