Index: trunk/src/chrome/browser/extensions/api/identity/web_auth_flow.cc |
=================================================================== |
--- trunk/src/chrome/browser/extensions/api/identity/web_auth_flow.cc (revision 239942) |
+++ trunk/src/chrome/browser/extensions/api/identity/web_auth_flow.cc (working copy) |
@@ -76,8 +76,7 @@ |
// in OnShellWindowAdded. |
std::string random_bytes; |
crypto::RandBytes(WriteInto(&random_bytes, 33), 32); |
- bool success = base::Base64Encode(random_bytes, &shell_window_key_); |
- DCHECK(success); |
+ base::Base64Encode(random_bytes, &shell_window_key_); |
// identityPrivate.onWebFlowRequest(shell_window_key, provider_url_, mode_) |
scoped_ptr<base::ListValue> args(new base::ListValue()); |