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 1d3103a6e6e9c768b7d29bc971be01138a9d87a0..68441549c3e57d4c9d9451b605e30b09ef23566a 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())); |
Robert Sesek
2012/02/29 15:13:37
The |new SkBitmap| is no longer needed.
sail
2012/02/29 19:45:16
Done.
|
} |
void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents) { |