| Index: cc/playback/draw_image.h
|
| diff --git a/cc/playback/draw_image.h b/cc/playback/draw_image.h
|
| index 6323a636f6412f02eb803cf0b65c02cbf2cb1030..4daa16075debdfcb41330afbdc428bbcb8f9ea7b 100644
|
| --- a/cc/playback/draw_image.h
|
| +++ b/cc/playback/draw_image.h
|
| @@ -34,12 +34,8 @@
|
| const SkMatrix& matrix() const { return matrix_; }
|
|
|
| DrawImage ApplyScale(float scale) const {
|
| - return ApplyScale(SkSize::Make(scale, scale));
|
| - }
|
| -
|
| - DrawImage ApplyScale(const SkSize& scale) const {
|
| SkMatrix scaled_matrix = matrix_;
|
| - scaled_matrix.postScale(scale.width(), scale.height());
|
| + scaled_matrix.postScale(scale, scale);
|
| return DrawImage(image_, src_rect_, filter_quality_, scaled_matrix);
|
| }
|
|
|
|
|