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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

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/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 042f8ecd7b396a1d42cf33e7fb272ead27fe7442..74360f6466c83ded0aa8277d8e5f326ac5c12357 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1537,7 +1537,7 @@ gfx::ImageSkia BrowserView::GetWindowAppIcon() {
gfx::ImageSkia BrowserView::GetWindowIcon() {
if (browser_->is_app())
- return browser_->GetCurrentPageIcon();
+ return browser_->GetCurrentPageIcon().AsImageSkia();
return gfx::ImageSkia();
}
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.cc ('k') | chrome/browser/ui/views/location_bar/action_box_button_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698