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

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, 4 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 c469104b40d0b23ca05ba4c79f55686c74e51694..782139c6b476070c9723a4b8328b4f45996c9ce5 100644
--- a/components/favicon/content/content_favicon_driver.cc
+++ b/components/favicon/content/content_favicon_driver.cc
@@ -125,6 +125,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