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..f5beb7fd4f202ccb7866567d06ea6a953068f617 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->image_scale()); |
image_skia.AddRepresentation(image_rep); |
canvas->DrawImageInt(image_skia, dest_offset.x(), dest_offset.y()); |
} else { |