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

Unified Diff: content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc

Issue 1354363002: Cleanup: Pass std::string as const reference from content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc
diff --git a/content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc b/content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc
index 43017e9d482cfa64e4e67011605159a3e222a281..bba0c76e3af768cd2c2d4e68078c5f3cbbe97e04 100644
--- a/content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc
+++ b/content/browser/indexed_db/indexed_db_leveldb_coding_unittest.cc
@@ -476,7 +476,7 @@ TEST(IndexedDBLevelDBCodingTest, CompareEncodedStringsWithLength) {
}
}
-static std::string WrappedEncodeBinary(std::string value) {
+static std::string WrappedEncodeBinary(const std::string& value) {
std::string buffer;
EncodeBinary(value, &buffer);
return buffer;

Powered by Google App Engine
This is Rietveld 408576698