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) |
@@ -22,7 +22,6 @@ |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_delegate.h" |
-#include "content/public/browser/web_ui.h" |
#include "ui/gfx/codec/png_codec.h" |
#include "ui/gfx/image/image.h" |
#include "ui/gfx/image/image_skia.h" |
@@ -95,9 +94,6 @@ |
if (chrome::IsInstantNTP(web_contents())) |
return false; |
- content::WebUI* web_ui = web_contents()->GetWebUIForCurrentState(); |
- if (web_ui) |
- return !web_ui->ShouldHideFavicon(); |
return true; |
} |