Bug 1284837 - Build fix. We need to to unbreak m-c and other trees builds. a=tomcat
authorNicolas Silva <nsilva@mozilla.com>
Tue, 26 Jul 2016 18:55:28 +0200
changeset 348832 78dd94ba93c77d0bba45f8e4525947629a305a41
parent 348831 462dc6b44adb4573e8ce6b0dd688c206ebd516f7
child 348860 e11d665e4b6d5d192f348db65f54cc2ede073bf5
child 348873 a878df4314faa5a620aca4b04fbae422f68392d3
child 348926 9d2af7a57d03faa06901c27fdd281e99222a3636
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstomcat
bugs1284837
milestone50.0a1
first release with
nightly linux32
78dd94ba93c7 / 50.0a1 / 20160727030230 / files
nightly linux64
78dd94ba93c7 / 50.0a1 / 20160727030230 / files
nightly mac
78dd94ba93c7 / 50.0a1 / 20160727030230 / files
nightly win32
78dd94ba93c7 / 50.0a1 / 20160727030230 / files
nightly win64
78dd94ba93c7 / 50.0a1 / 20160727030230 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1284837 - Build fix. We need to to unbreak m-c and other trees builds. a=tomcat
gfx/thebes/gfxQuartzNativeDrawing.cpp
--- a/gfx/thebes/gfxQuartzNativeDrawing.cpp
+++ b/gfx/thebes/gfxQuartzNativeDrawing.cpp
@@ -36,17 +36,17 @@ gfxQuartzNativeDrawing::BeginNativeDrawi
     // sure our surface is big enough for that.
     mNativeRect.Inflate(5);
     if (mNativeRect.IsEmpty()) {
       return nullptr;
     }
 
     mTempDrawTarget =
       Factory::CreateDrawTarget(BackendType::COREGRAPHICS,
-                                IntSize(mNativeRect.width, mNativeRect.height),
+                                IntSize::Truncate(mNativeRect.width, mNativeRect.height),
                                 SurfaceFormat::B8G8R8A8);
 
     if (mTempDrawTarget) {
         transform.PostTranslate(-mNativeRect.x, -mNativeRect.y);
         mTempDrawTarget->SetTransform(transform);
     }
     dt = mTempDrawTarget;
   }