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

Unified Diff: crypto/random_unittest.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
« no previous file with comments | « crypto/encryptor_openssl.cc ('k') | crypto/symmetric_key_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/random_unittest.cc
diff --git a/crypto/random_unittest.cc b/crypto/random_unittest.cc
index 846d9b66f3d5419b8cf34ebe40a551a26f6eab20..00d4b2b5e861ec20489b5fa72ec47da15676111f 100644
--- a/crypto/random_unittest.cc
+++ b/crypto/random_unittest.cc
@@ -22,6 +22,6 @@ bool IsTrivial(const std::string& bytes) {
TEST(RandBytes, RandBytes) {
std::string bytes(16, '\0');
- crypto::RandBytes(WriteInto(&bytes, bytes.size()), bytes.size());
+ crypto::RandBytes(base::WriteInto(&bytes, bytes.size()), bytes.size());
EXPECT_TRUE(!IsTrivial(bytes));
}
« no previous file with comments | « crypto/encryptor_openssl.cc ('k') | crypto/symmetric_key_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698