| Index: ui/gfx/canvas.h
|
| diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
|
| index 7fee48399e28a3b361dad5a2f638e8fc05fd7f47..5845fd683adc9a2f233d31be24f01d0adebfaa3a 100644
|
| --- a/ui/gfx/canvas.h
|
| +++ b/ui/gfx/canvas.h
|
| @@ -196,7 +196,11 @@ class UI_EXPORT Canvas {
|
|
|
| void Translate(const gfx::Vector2d& offset);
|
|
|
| +#if defined(ENABLE_HIDPI)
|
| + void Scale(double x_scale, double y_scale);
|
| +#else
|
| void Scale(int x_scale, int y_scale);
|
| +#endif
|
|
|
| // Fills the entire canvas' bitmap (restricted to current clip) with
|
| // specified |color| using a transfer mode of SkXfermode::kSrcOver_Mode.
|
|
|