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

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
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;
}

Powered by Google App Engine
This is Rietveld 408576698