Index: ui/gfx/canvas.cc |
diff --git a/ui/gfx/canvas.cc b/ui/gfx/canvas.cc |
index 18d5314770561cd4896d745a0a988e8f659f65b9..414c2c90e8d4a1f5549f8236d52ae4210d8c917d 100644 |
--- a/ui/gfx/canvas.cc |
+++ b/ui/gfx/canvas.cc |
@@ -189,8 +189,8 @@ void Canvas::Translate(const Vector2d& offset) { |
canvas_->translate(SkIntToScalar(offset.x()), SkIntToScalar(offset.y())); |
} |
-void Canvas::Scale(int x_scale, int y_scale) { |
- canvas_->scale(SkIntToScalar(x_scale), SkIntToScalar(y_scale)); |
+void Canvas::Scale(float x_scale, float y_scale) { |
+ canvas_->scale(SkFloatToScalar(x_scale), SkFloatToScalar(y_scale)); |
} |
void Canvas::DrawColor(SkColor color) { |