summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 20:08:59 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 20:08:59 +0000
commit36c1ff9fd1b301c7b2de0f364e9ba10835d3a9c6 (patch)
tree1db4b79cff59183ba947a7994522efaaab619c21 /chrome/browser/profile.cc
parentad3c0f1de336eef69795f1228101cd0486ec0a4c (diff)
downloadchromium_src-36c1ff9fd1b301c7b2de0f364e9ba10835d3a9c6.zip
chromium_src-36c1ff9fd1b301c7b2de0f364e9ba10835d3a9c6.tar.gz
chromium_src-36c1ff9fd1b301c7b2de0f364e9ba10835d3a9c6.tar.bz2
AutoFill: Make PersonalDataManager RefCountedThreadSafe.
BUG=40617 TEST=none Review URL: http://codereview.chromium.org/2521001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48858 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 2f46701..89e5545 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -1287,7 +1287,7 @@ bool ProfileImpl::HasCreatedDownloadManager() const {
PersonalDataManager* ProfileImpl::GetPersonalDataManager() {
if (!personal_data_manager_.get()) {
- personal_data_manager_.reset(new PersonalDataManager());
+ personal_data_manager_ = new PersonalDataManager();
personal_data_manager_->Init(this);
}
return personal_data_manager_.get();