Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: chrome/browser/icon_loader_mac.mm

Issue 10703173: Enable hidpi download UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed mac bugs Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/icon_loader_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/icon_loader_mac.mm
diff --git a/chrome/browser/icon_loader_mac.mm b/chrome/browser/icon_loader_mac.mm
index 2e35a93f3bd255185f9ac6a74de2d3dbe1df5dd4..7ec09ac2419d59cc165518006f63e33f92a0b4b6 100644
--- a/chrome/browser/icon_loader_mac.mm
+++ b/chrome/browser/icon_loader_mac.mm
@@ -10,8 +10,8 @@
#include "base/message_loop.h"
#include "base/threading/thread.h"
#include "base/sys_string_conversions.h"
-#include "skia/ext/skia_utils_mac.h"
-#include "third_party/skia/include/core/SkBitmap.h"
+#include "ui/gfx/image/image_skia.h"
+#include "ui/gfx/image/image_skia_util_mac.h"
void IconLoader::ReadIcon() {
NSString* group = base::SysUTF8ToNSString(group_);
@@ -33,7 +33,7 @@ void IconLoader::ReadIcon() {
default:
NOTREACHED();
}
- image_.reset(new gfx::Image(gfx::NSImageToSkBitmap(icon, size, false)));
+ image_.reset(new gfx::Image(gfx::ImageSkiaFromResizedNSImage(icon, size)));
}
target_message_loop_->PostTask(FROM_HERE,
« no previous file with comments | « chrome/browser/icon_loader_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698