| Index: ui/base/x/x11_util.cc
|
| diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc
|
| index b960a42b1138e0a254384a61c03424406bdbb76d..2340ed8e0e3ae06626d5abce061c75334508a94e 100644
|
| --- a/ui/base/x/x11_util.cc
|
| +++ b/ui/base/x/x11_util.cc
|
| @@ -1239,7 +1239,7 @@ bool CopyAreaToCanvas(XID drawable,
|
| image->bytes_per_line);
|
| bitmap.setPixels(image->data);
|
| gfx::ImageSkia image_skia;
|
| - gfx::ImageSkiaRep image_rep(bitmap, canvas->scale_factor());
|
| + gfx::ImageSkiaRep image_rep(bitmap, canvas->scale());
|
| image_skia.AddRepresentation(image_rep);
|
| canvas->DrawImageInt(image_skia, dest_offset.x(), dest_offset.y());
|
| } else {
|
|
|