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

Unified Diff: extensions/browser/value_store/value_store_unittest.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: extensions/browser/value_store/value_store_unittest.cc
diff --git a/extensions/browser/value_store/value_store_unittest.cc b/extensions/browser/value_store/value_store_unittest.cc
index a859570b6588ee7aef9b41fc46f79b3fc2de31da..4293459aa6752989ef5aaa534373a4c04561a5f5 100644
--- a/extensions/browser/value_store/value_store_unittest.cc
+++ b/extensions/browser/value_store/value_store_unittest.cc
@@ -135,9 +135,9 @@ ValueStoreTest::ValueStoreTest()
dict123_(new base::DictionaryValue()),
ui_thread_(BrowserThread::UI, base::MessageLoop::current()),
file_thread_(BrowserThread::FILE, base::MessageLoop::current()) {
- val1_.reset(base::Value::CreateStringValue(key1_ + "Value"));
- val2_.reset(base::Value::CreateStringValue(key2_ + "Value"));
- val3_.reset(base::Value::CreateStringValue(key3_ + "Value"));
+ val1_.reset(new base::StringValue(key1_ + "Value"));
+ val2_.reset(new base::StringValue(key2_ + "Value"));
+ val3_.reset(new base::StringValue(key3_ + "Value"));
list1_.push_back(key1_);
list2_.push_back(key2_);
« no previous file with comments | « extensions/browser/value_store/value_store_frontend_unittest.cc ('k') | extensions/common/event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698