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

Unified Diff: chrome/browser/favicon/favicon_tab_helper.cc

Issue 14080004: Remove some chrome-specific methods from content::WebUI. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
Index: chrome/browser/favicon/favicon_tab_helper.cc
===================================================================
--- chrome/browser/favicon/favicon_tab_helper.cc (revision 193436)
+++ chrome/browser/favicon/favicon_tab_helper.cc (working copy)
@@ -95,9 +95,6 @@
if (chrome::IsInstantNTP(web_contents()))
return false;
- content::WebUI* web_ui = web_contents()->GetWebUIForCurrentState();
- if (web_ui)
- return !web_ui->ShouldHideFavicon();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698