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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.cc

Issue 9428025: Add support for multiple icon sizes for Mac platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comment Created 8 years, 10 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/web_applications/web_app_ui.cc
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc
index 1f17e09d88eca5774112d2b79d363fa405174052..7920b9d9d1c98d133206a0dee0de1cc90b04be0e 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -309,7 +309,8 @@ void GetShortcutInfoForTab(TabContentsWrapper* tab_contents_wrapper,
web_contents->GetTitle()) :
app_info.title;
info->description = app_info.description;
- info->favicon = tab_contents_wrapper->favicon_tab_helper()->GetFavicon();
+ info->favicon = gfx::Image(
+ new SkBitmap(tab_contents_wrapper->favicon_tab_helper()->GetFavicon()));
}
void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents) {

Powered by Google App Engine
This is Rietveld 408576698