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

Unified Diff: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm

Issue 10834368: Convert mostly favicon related code from SkBitmap to ImageSkia and Image (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
index 9484bba743879792e8540b1e5f1c0127f3df324e..361e34dff8cf72fa2725e7d7f619cba5a7f5586b 100644
--- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
+++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
@@ -66,6 +66,7 @@
#include "third_party/skia/include/core/SkBitmap.h"
Nico 2012/08/16 20:26:27 can this go?
pkotwicz 2012/08/16 21:32:31 SkBitmap is still used by LocationBarViewMac::GetK
Nico 2012/08/16 21:35:06 But only in reference form, so the definition shou
#include "ui/base/l10n/l10n_util_mac.h"
#include "ui/base/resource/resource_bundle.h"
+#include "ui/gfx/image/image.h"
using content::WebContents;
@@ -317,7 +318,7 @@ void LocationBarViewMac::OnKillFocus() {
// Do nothing.
}
-SkBitmap LocationBarViewMac::GetFavicon() const {
+gfx::Image LocationBarViewMac::GetFavicon() const {
return browser_->GetCurrentPageIcon();
}

Powered by Google App Engine
This is Rietveld 408576698