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

Unified Diff: net/http/http_response_info.cc

Issue 10942004: Cleanup: avoid foo ? true : false, part 2. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/url_request/url_request_file_dir_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_response_info.cc
===================================================================
--- net/http/http_response_info.cc (revision 157289)
+++ net/http/http_response_info.cc (working copy)
@@ -221,7 +221,7 @@
was_fetched_via_proxy = (flags & RESPONSE_INFO_WAS_PROXY) != 0;
- *response_truncated = (flags & RESPONSE_INFO_TRUNCATED) ? true : false;
+ *response_truncated = (flags & RESPONSE_INFO_TRUNCATED) != 0;
return true;
}
« no previous file with comments | « net/disk_cache/stress_cache.cc ('k') | net/url_request/url_request_file_dir_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698