Index: chrome/browser/icon_loader_win.cc |
diff --git a/chrome/browser/icon_loader_win.cc b/chrome/browser/icon_loader_win.cc |
index d0d77dc261039a16047a5e3f7a82a5c5de7c30bc..1368dffcf15516416e582adebc9d8db26d23de7c 100644 |
--- a/chrome/browser/icon_loader_win.cc |
+++ b/chrome/browser/icon_loader_win.cc |
@@ -61,8 +61,7 @@ void IconLoader::ReadIcon() { |
scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON( |
file_info.hIcon)); |
if (bitmap.get()) { |
- gfx::ImageSkia image_skia(gfx::ImageSkiaRep( |
- *bitmap, gfx::win::GetDeviceScaleFactor())); |
+ gfx::ImageSkia image_skia(gfx::ImageSkiaRep(*bitmap, gfx::GetDPIScale())); |
image_skia.MakeThreadSafe(); |
image_.reset(new gfx::Image(image_skia)); |
DestroyIcon(file_info.hIcon); |