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

Unified Diff: extensions/browser/value_store/value_store_frontend_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_frontend_unittest.cc
diff --git a/extensions/browser/value_store/value_store_frontend_unittest.cc b/extensions/browser/value_store/value_store_frontend_unittest.cc
index 3d81a1d8fb65a010c051bdd1dad88356b90a6ff9..82c24cede1f3849f079669d7a424abf797318160 100644
--- a/extensions/browser/value_store/value_store_frontend_unittest.cc
+++ b/extensions/browser/value_store/value_store_frontend_unittest.cc
@@ -88,8 +88,7 @@ TEST_F(ValueStoreFrontendTest, GetExistingData) {
TEST_F(ValueStoreFrontendTest, ChangesPersistAfterReload) {
storage_->Set("key0",
scoped_ptr<base::Value>(base::Value::CreateIntegerValue(0)));
- storage_->Set("key1",
- scoped_ptr<base::Value>(base::Value::CreateStringValue("new1")));
+ storage_->Set("key1", scoped_ptr<base::Value>(new base::StringValue("new1")));
storage_->Remove("key2");
// Reload the DB and test our changes.
« no previous file with comments | « extensions/browser/value_store/value_store_change_unittest.cc ('k') | extensions/browser/value_store/value_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698