Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / rlz / chromeos / lib / rlz_value_store_chromeos.cc
index 7fe5fdb..0cd87af 100644 (file)
@@ -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,