Index: ui/base/x/x11_util.cc |
diff --git a/ui/base/x/x11_util.cc b/ui/base/x/x11_util.cc |
index 58c2c698a3cf825780d1c41ba5ce88bd7972b90c..a218392a1757670effb9b97c04cf514e07a89a70 100644 |
--- a/ui/base/x/x11_util.cc |
+++ b/ui/base/x/x11_util.cc |
@@ -1226,7 +1226,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 { |