summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 13:09:28 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 13:09:28 +0000
commit68e836075045f4d14ac55f5a33c763516cf05c93 (patch)
treeaf2c00d9a094be110efc58f4daf84172e871d9ec
parent4cbf40e7b6b4ecb080bc9cf698ccdd79bfa73f07 (diff)
downloadchromium_src-68e836075045f4d14ac55f5a33c763516cf05c93.zip
chromium_src-68e836075045f4d14ac55f5a33c763516cf05c93.tar.gz
chromium_src-68e836075045f4d14ac55f5a33c763516cf05c93.tar.bz2
Uninitialized members in FileThreadDeserializer.
BUG=None TEST=None CID=16838 Review URL: http://codereview.chromium.org/7134071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88984 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/json_pref_store.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/json_pref_store.cc b/chrome/common/json_pref_store.cc
index f391225..5891633 100644
--- a/chrome/common/json_pref_store.cc
+++ b/chrome/common/json_pref_store.cc
@@ -26,7 +26,9 @@ class FileThreadDeserializer
public:
explicit FileThreadDeserializer(JsonPrefStore* delegate,
base::MessageLoopProxy* file_loop_proxy)
- : delegate_(delegate),
+ : no_dir_(false),
+ error_(PersistentPrefStore::PREF_READ_ERROR_NONE),
+ delegate_(delegate),
file_loop_proxy_(file_loop_proxy),
origin_loop_proxy_(base::MessageLoopProxy::CreateForCurrentThread()) {
}