diff --git a/gfx/thebes/gfxQuartzNativeDrawing.cpp b/gfx/thebes/gfxQuartzNativeDrawing.cpp index 369160dcf51f..b056ae6ec10e 100644 --- a/gfx/thebes/gfxQuartzNativeDrawing.cpp +++ b/gfx/thebes/gfxQuartzNativeDrawing.cpp @@ -41,7 +41,7 @@ gfxQuartzNativeDrawing::BeginNativeDrawing() mTempDrawTarget = Factory::CreateDrawTarget(BackendType::COREGRAPHICS, - IntSize(mNativeRect.width, mNativeRect.height), + IntSize::Truncate(mNativeRect.width, mNativeRect.height), SurfaceFormat::B8G8R8A8); if (mTempDrawTarget) {