Index: chrome/browser/signin/local_auth.cc |
diff --git a/chrome/browser/signin/local_auth.cc b/chrome/browser/signin/local_auth.cc |
index 9cf1e08ccc6fed1e570bbc88adb81434ca7e8eb0..5ce69c4add696240b318f1596e29cba783294c31 100644 |
--- a/chrome/browser/signin/local_auth.cc |
+++ b/chrome/browser/signin/local_auth.cc |
@@ -108,9 +108,7 @@ std::string CreateSecurePasswordHash(const std::string& salt, |
crypto::SymmetricKey::DeriveKeyFromPassword( |
crypto::SymmetricKey::AES, password, salt, encoding.iteration_count, |
encoding.hash_bits)); |
- std::string password_hash; |
- const bool success = password_key->GetRawKey(&password_hash); |
- DCHECK(success); |
+ std::string password_hash = password_key->key(); |
DCHECK_EQ(encoding.hash_bytes, password_hash.length()); |
UMA_HISTOGRAM_TIMES("PasswordHash.CreateTime", |