commit | 0553072d237ad2b977e948591de3f87eee536a9c | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 10 11:55:10 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 10 11:55:10 2013 |
tree | 58b462d22b2342db07c041ac8abaf061e671d1e5 | |
parent | 9377d2ad77c6d7ee0190c90544eaed0ff0c7fc9c [diff] |
The comment in base64.h implies that base::Base64Encode() can return false, but this cannot happen in practice. Fix the comment. The implementation of Base64Encode() attempts to check for the return value MODP_B64_ERROR as a failure, but modp_b64_encode() cannot return this value. Remove the check. Remove unneeded integer cast. Change the return type to void. BUG=323357 TEST=base_unittests, compile all [email protected],[email protected],[email protected],[email protected],[email protected] Review URL: https://codereview.chromium.org/86913002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239759 0039d316-1c4b-4281-b951-d872f2087c98