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

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

Issue 6814029: Revert 80519 - Move favicon from TabContents to TabContentsWrapper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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/ui/views/toolbar_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/web_applications/web_app_ui.cc
===================================================================
--- chrome/browser/ui/web_applications/web_app_ui.cc (revision 80859)
+++ chrome/browser/ui/web_applications/web_app_ui.cc (working copy)
@@ -9,7 +9,6 @@
#include "base/task.h"
#include "base/win/windows_version.h"
#include "chrome/browser/extensions/extension_tab_helper.h"
-#include "chrome/browser/favicon_tab_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
@@ -134,7 +133,7 @@
return;
}
- tab_contents_->favicon_tab_helper()->DownloadImage(
+ tab_contents_->tab_contents()->favicon_helper().DownloadImage(
unprocessed_icons_.back().url,
std::max(unprocessed_icons_.back().width,
unprocessed_icons_.back().height),
@@ -304,7 +303,7 @@
tab_contents->GetTitle()) :
app_info.title;
info->description = app_info.description;
- info->favicon = tab_contents_wrapper->favicon_tab_helper()->GetFavicon();
+ info->favicon = tab_contents->GetFavicon();
}
void UpdateShortcutForTabContents(TabContentsWrapper* tab_contents) {
« no previous file with comments | « chrome/browser/ui/views/toolbar_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698