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

Unified Diff: net/base/sdch_manager.cc

Issue 14802: Correct typo in SDCH problem logging code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 | « net/base/sdch_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/sdch_manager.cc
===================================================================
--- net/base/sdch_manager.cc (revision 6917)
+++ net/base/sdch_manager.cc (working copy)
@@ -88,11 +88,11 @@
return true;
std::string domain = StringToLowerASCII(url.host());
- bool was_blacklisted(blacklisted_domains_.end() ==
+ bool was_blacklisted(blacklisted_domains_.end() !=
blacklisted_domains_.find(domain));
if (was_blacklisted)
SdchErrorRecovery(DOMAIN_BLACKLIST_INCLUDES_TARGET);
- return was_blacklisted;
+ return !was_blacklisted;
}
bool SdchManager::CanFetchDictionary(const GURL& referring_url,
« no previous file with comments | « net/base/sdch_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698