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

Unified Diff: chrome/browser/signin/local_auth.cc

Issue 1223983002: Move WriteInto to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: chrome/browser/signin/local_auth.cc
diff --git a/chrome/browser/signin/local_auth.cc b/chrome/browser/signin/local_auth.cc
index 5c6ea0356d0b46f92bf0383e4f20e175082eaa3f..6846784a936aeeac55ce1285eb98a224e7a69197 100644
--- a/chrome/browser/signin/local_auth.cc
+++ b/chrome/browser/signin/local_auth.cc
@@ -187,8 +187,8 @@ void LocalAuth::SetLocalAuthCredentialsWithEncoding(size_t info_index,
// Salt should be random data, as long as the hash length, and different with
// every save.
std::string salt_str;
- crypto::RandBytes(WriteInto(&salt_str, encoding.hash_bytes + 1),
- encoding.hash_bytes);
+ crypto::RandBytes(base::WriteInto(&salt_str, encoding.hash_bytes + 1),
+ encoding.hash_bytes);
// Perform secure hash of password for storage.
std::string password_hash = CreateSecurePasswordHash(

Powered by Google App Engine
This is Rietveld 408576698