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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 14322023: Don't request missing favicon on every page request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync up to r199996 Created 7 years, 7 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 | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/image_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 9cc3694d86c211ad6431178516882a15c1c3560f..a678802ce9b93be5e406fee7f7e1f917cbc263ba 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2397,6 +2397,7 @@ void WebContentsImpl::OnBrowserPluginMessage(const IPC::Message& message) {
void WebContentsImpl::OnDidDownloadImage(
int id,
+ int http_status_code,
const GURL& image_url,
int requested_size,
const std::vector<SkBitmap>& bitmaps) {
@@ -2407,7 +2408,7 @@ void WebContentsImpl::OnDidDownloadImage(
return;
}
if (!iter->second.is_null()) {
- iter->second.Run(id, image_url, requested_size, bitmaps);
+ iter->second.Run(id, http_status_code, image_url, requested_size, bitmaps);
}
image_download_map_.erase(id);
}
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/image_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698