summaryrefslogtreecommitdiffstats
path: root/base/prefs
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 18:01:07 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-13 18:01:07 +0000
commit02c29b3895a09d2b62391e5241fe6f6026cf6a65 (patch)
treece1d6267b281dda2a170d63cbe94bc1fcb32636f /base/prefs
parentffd1a1ca3c71d5f651223aa1df0cb0ac9c008971 (diff)
downloadchromium_src-02c29b3895a09d2b62391e5241fe6f6026cf6a65.zip
chromium_src-02c29b3895a09d2b62391e5241fe6f6026cf6a65.tar.gz
chromium_src-02c29b3895a09d2b62391e5241fe6f6026cf6a65.tar.bz2
Rewrite scoped_ptr<T>(NULL) to use the default ctor in base/.
This is the result of running the rewrite_scoped_ptr_ctor_null tool across all files built on Linux in the base/ directory. BUG=173286 Review URL: https://chromiumcodereview.appspot.com/16950008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/prefs')
-rw-r--r--base/prefs/json_pref_store.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/base/prefs/json_pref_store.cc b/base/prefs/json_pref_store.cc
index 1334abf..e7337a1 100644
--- a/base/prefs/json_pref_store.cc
+++ b/base/prefs/json_pref_store.cc
@@ -157,10 +157,8 @@ JsonPrefStore::JsonPrefStore(const base::FilePath& filename,
prefs_(new DictionaryValue()),
read_only_(false),
writer_(filename, sequenced_task_runner),
- error_delegate_(NULL),
initialized_(false),
- read_error_(PREF_READ_ERROR_OTHER) {
-}
+ read_error_(PREF_READ_ERROR_OTHER) {}
bool JsonPrefStore::GetValue(const std::string& key,
const Value** result) const {