[M47_2526] Chromium upversion to m47_2526 branch
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / browser / autofill / autofill_pref_store_efl.cc
index 4988b7b..9c80c66 100644 (file)
@@ -38,17 +38,17 @@ bool AutofillPrefStore::IsInitializationComplete() const {
 }
 
 void AutofillPrefStore::SetValue(const std::string& key,
-                                 base::Value* value,
+                                 scoped_ptr<base::Value> value,
                                  uint32 flags) {
   DCHECK(value);
-  if (prefs_.SetValue(key, value))
+  if (prefs_.SetValue(key, value.Pass()))
     ReportValueChanged(key, flags);
 }
 
 void AutofillPrefStore::SetValueSilently(const std::string& key,
-                                         base::Value* value,
+                                         scoped_ptr<base::Value> value,
                                          uint32 flags) {
-  prefs_.SetValue(key, value);
+  prefs_.SetValue(key, value.Pass());
 }
 
 void AutofillPrefStore::RemoveValue(const std::string& key, uint32 flags) {