diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-19 05:28:58 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-19 05:28:58 +0000 |
commit | f76184af6b2b63d85d77d71b575a10dc1b6b1255 (patch) | |
tree | 85713845c4cb89488ae2aab0c99390b1bd865025 /net/http/http_response_info.cc | |
parent | 63035789c6166164f962c7a37c6ca487d92c2401 (diff) | |
download | chromium_src-f76184af6b2b63d85d77d71b575a10dc1b6b1255.zip chromium_src-f76184af6b2b63d85d77d71b575a10dc1b6b1255.tar.gz chromium_src-f76184af6b2b63d85d77d71b575a10dc1b6b1255.tar.bz2 |
Cleanup: avoid foo ? true : false, part 2.
Review URL: https://chromiumcodereview.appspot.com/10942004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157509 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_info.cc')
-rw-r--r-- | net/http/http_response_info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_response_info.cc b/net/http/http_response_info.cc index e3fcb69..9c33ab4 100644 --- a/net/http/http_response_info.cc +++ b/net/http/http_response_info.cc @@ -221,7 +221,7 @@ bool HttpResponseInfo::InitFromPickle(const Pickle& pickle, 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; } |