Index: trunk/src/ui/base/x/x11_util.cc |
=================================================================== |
--- trunk/src/ui/base/x/x11_util.cc (revision 224498) |
+++ trunk/src/ui/base/x/x11_util.cc (working copy) |
@@ -1226,7 +1226,7 @@ |
image->bytes_per_line); |
bitmap.setPixels(image->data); |
gfx::ImageSkia image_skia; |
- gfx::ImageSkiaRep image_rep(bitmap, canvas->image_scale()); |
+ gfx::ImageSkiaRep image_rep(bitmap, canvas->scale_factor()); |
image_skia.AddRepresentation(image_rep); |
canvas->DrawImageInt(image_skia, dest_offset.x(), dest_offset.y()); |
} else { |