| Index: ui/native_theme/common_theme.cc
|
| diff --git a/ui/native_theme/common_theme.cc b/ui/native_theme/common_theme.cc
|
| index 4e4221a88906866bfa93dbcbf17948f260725ebf..a7a4c5ab150017adcc8909a8b6a062952cad9943 100644
|
| --- a/ui/native_theme/common_theme.cc
|
| +++ b/ui/native_theme/common_theme.cc
|
| @@ -207,7 +207,7 @@ scoped_ptr<gfx::Canvas> CommonThemeCreateCanvas(SkCanvas* sk_canvas) {
|
| // scale factor from canvas scale.
|
| SkMatrix m = sk_canvas->getTotalMatrix();
|
| float device_scale = static_cast<float>(SkScalarAbs(m.getScaleX()));
|
| - return scoped_ptr<gfx::Canvas>(
|
| + return make_scoped_ptr(
|
| gfx::Canvas::CreateCanvasWithoutScaling(sk_canvas, device_scale));
|
| }
|
|
|
|
|