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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc

Issue 1129083003: More base::Values-related bare pointer -> scoped_ptr conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge Created 5 years, 7 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: chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc
index 9571f0c54654a67d8fd97aefa5ede19c0349db1c..0cf05ddd661a9fa47345259da0cbaafeeb3d88ae 100644
--- a/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/preference_validation_delegate_unittest.cc
@@ -118,7 +118,7 @@ class PreferenceValidationDelegateValues
using base::Value;
switch (value_type) {
case Value::TYPE_NULL:
- return make_scoped_ptr(Value::CreateNullValue());
+ return Value::CreateNullValue();
case Value::TYPE_BOOLEAN:
return scoped_ptr<Value>(new base::FundamentalValue(false));
case Value::TYPE_INTEGER:

Powered by Google App Engine
This is Rietveld 408576698