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

Unified Diff: extensions/browser/api/storage/settings_test_util.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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: extensions/browser/api/storage/settings_test_util.cc
diff --git a/extensions/browser/api/storage/settings_test_util.cc b/extensions/browser/api/storage/settings_test_util.cc
index edc425466d4032b0862a1a3f8732a7bba1f03641..1b619ef6f1b15c533395ff2586bec191bb2bb6da 100644
--- a/extensions/browser/api/storage/settings_test_util.cc
+++ b/extensions/browser/api/storage/settings_test_util.cc
@@ -23,7 +23,7 @@ std::unique_ptr<base::Value> CreateKilobyte() {
for (int i = 0; i < 1024; ++i) {
kilobyte_string += "a";
}
- return std::unique_ptr<base::Value>(new base::StringValue(kilobyte_string));
+ return std::unique_ptr<base::Value>(new base::Value(kilobyte_string));
}
// Creates a megabyte of data.
« no previous file with comments | « extensions/browser/api/storage/settings_quota_unittest.cc ('k') | extensions/browser/api/storage/storage_frontend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698