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

Unified Diff: components/metrics/persisted_logs.cc

Issue 388963002: Get rid of the rest of CreateStringValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad rebase Created 6 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: components/metrics/persisted_logs.cc
diff --git a/components/metrics/persisted_logs.cc b/components/metrics/persisted_logs.cc
index 17d6aa7dfd53754b9895f216bda9a5e7ad335fbf..7213b59806131c66868b7f4f651e1c1bd151c106 100644
--- a/components/metrics/persisted_logs.cc
+++ b/components/metrics/persisted_logs.cc
@@ -41,7 +41,7 @@ bool ReadBase64String(const base::ListValue& list_value,
void AppendBase64String(const std::string& str, base::ListValue* list_value) {
std::string base64_str;
base::Base64Encode(str, &base64_str);
- list_value->Append(base::Value::CreateStringValue(base64_str));
+ list_value->AppendString(base64_str);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698