Index: chrome/browser/icon_loader_chromeos.cc |
diff --git a/chrome/browser/icon_loader_chromeos.cc b/chrome/browser/icon_loader_chromeos.cc |
index 14692be13eadafdf476416ffb2e37108418d9ca4..cb99847903fdbffe2816e4d7d5dda0f391b21df1 100644 |
--- a/chrome/browser/icon_loader_chromeos.cc |
+++ b/chrome/browser/icon_loader_chromeos.cc |
@@ -17,6 +17,7 @@ |
#include "skia/ext/image_operations.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "ui/base/resource/resource_bundle.h" |
+#include "ui/base/resource/resource_handle.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/codec/png_codec.h" |
#include "ui/gfx/image/image.h" |
@@ -197,7 +198,7 @@ void IconLoader::ReadIcon() { |
int idr = icon_mapper.Get().Lookup(group_, icon_size_); |
ResourceBundle& rb = ResourceBundle::GetSharedInstance(); |
scoped_refptr<base::RefCountedStaticMemory> bytes( |
- rb.LoadDataResourceBytes(idr)); |
+ rb.LoadDataResourceBytes(idr, ui::ResourceHandle::kScaleFactor100x)); |
DCHECK(bytes.get()); |
SkBitmap bitmap; |
if (!gfx::PNGCodec::Decode(bytes->front(), bytes->size(), &bitmap)) |