summaryrefslogtreecommitdiffstats
path: root/rlz
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 10:32:41 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 10:32:41 +0000
commitb54e6259cc91acf5c1f37ae5f7126a47a9447b1f (patch)
tree1c521be12176fc81f84110372ad874548a325e64 /rlz
parent63aaa3f95c09df0edfc9a3703ad638cd4644434b (diff)
downloadchromium_src-b54e6259cc91acf5c1f37ae5f7126a47a9447b1f.zip
chromium_src-b54e6259cc91acf5c1f37ae5f7126a47a9447b1f.tar.gz
chromium_src-b54e6259cc91acf5c1f37ae5f7126a47a9447b1f.tar.bz2
Get rid of some uses of base::Create*Value
BUG=160586 TBR=finnur, ajuma, thakis, atwilson Review URL: https://codereview.chromium.org/131503015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247922 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'rlz')
-rw-r--r--rlz/chromeos/lib/rlz_value_store_chromeos.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/rlz/chromeos/lib/rlz_value_store_chromeos.cc b/rlz/chromeos/lib/rlz_value_store_chromeos.cc
index 7fe5fdb..0cd87af 100644
--- a/rlz/chromeos/lib/rlz_value_store_chromeos.cc
+++ b/rlz/chromeos/lib/rlz_value_store_chromeos.cc
@@ -141,7 +141,7 @@ bool RlzValueStoreChromeOS::AddProductEvent(Product product,
const char* event_rlz) {
DCHECK(CalledOnValidThread());
return AddValueToList(GetKeyName(kProductEventKey, product),
- base::Value::CreateStringValue(event_rlz));
+ new base::StringValue(event_rlz));
}
bool RlzValueStoreChromeOS::ReadProductEvents(
@@ -178,7 +178,7 @@ bool RlzValueStoreChromeOS::AddStatefulEvent(Product product,
const char* event_rlz) {
DCHECK(CalledOnValidThread());
return AddValueToList(GetKeyName(kStatefulEventKey, product),
- base::Value::CreateStringValue(event_rlz));
+ new base::StringValue(event_rlz));
}
bool RlzValueStoreChromeOS::IsStatefulEvent(Product product,