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

Unified Diff: components/image_fetcher/request_metadata.cc

Issue 2677993002: Use IOSImageDataFetcherWrapper for favicon (Closed)
Patch Set: Rebase Created 3 years, 10 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/image_fetcher/request_metadata.cc
diff --git a/components/image_fetcher/request_metadata.cc b/components/image_fetcher/request_metadata.cc
index db3a2c92b07ded876fb8b36a73f1a02ddd3e3e2c..172dc5c2ab1bdb6e3ffbc8af34112faba8d84fed 100644
--- a/components/image_fetcher/request_metadata.cc
+++ b/components/image_fetcher/request_metadata.cc
@@ -7,7 +7,8 @@
namespace image_fetcher {
bool operator==(const RequestMetadata& lhs, const RequestMetadata& rhs) {
- return lhs.mime_type == rhs.mime_type;
+ return lhs.mime_type == rhs.mime_type &&
+ lhs.response_code == rhs.response_code;
}
bool operator!=(const RequestMetadata& lhs, const RequestMetadata& rhs) {

Powered by Google App Engine
This is Rietveld 408576698