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

Unified Diff: components/favicon/content/content_favicon_driver.cc

Issue 1272413002: Remove useless FaviconHandler::PageChangedSinceFaviconWasRequested() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: components/favicon/content/content_favicon_driver.cc
diff --git a/components/favicon/content/content_favicon_driver.cc b/components/favicon/content/content_favicon_driver.cc
index c4aa894affd32a4b92cf54a7ed393a4b8fac2b11..ef24d10b0f8c12135c05df17cadfa4964b90c2ab 100644
--- a/components/favicon/content/content_favicon_driver.cc
+++ b/components/favicon/content/content_favicon_driver.cc
@@ -133,6 +133,10 @@ void ContentFaviconDriver::SetActiveFaviconImage(const gfx::Image& image) {
GetFaviconStatus().image = image;
}
+bool ContentFaviconDriver::ShouldSendFaviconAvailableNotifications() {
+ return true;
+}
+
content::FaviconStatus& ContentFaviconDriver::GetFaviconStatus() {
DCHECK(web_contents()->GetController().GetLastCommittedEntry());
return web_contents()->GetController().GetLastCommittedEntry()->GetFavicon();

Powered by Google App Engine
This is Rietveld 408576698