| Index: skia/ext/canvas_paint_mac.h
|
| diff --git a/skia/ext/canvas_paint_mac.h b/skia/ext/canvas_paint_mac.h
|
| index fe73a8ec5223c35b5c8d7dfb89628d40bf6fccb6..6cef9ba38f870a41f8def5ed0170968d1fc7fb7e 100644
|
| --- a/skia/ext/canvas_paint_mac.h
|
| +++ b/skia/ext/canvas_paint_mac.h
|
| @@ -89,8 +89,8 @@ class CanvasPaintT : public T {
|
|
|
| // Need to translate so that the dirty region appears at the origin of the
|
| // surface.
|
| - T::translate(-SkIntToScalar(rectangle_.origin.x),
|
| - -SkIntToScalar(rectangle_.origin.y));
|
| + T::translate(-SkDoubleToScalar(rectangle_.origin.x),
|
| + -SkDoubleToScalar(rectangle_.origin.y));
|
|
|
| context_ = T::getTopPlatformDevice().GetBitmapContext();
|
| }
|
|
|