summaryrefslogtreecommitdiffstats
path: root/components/autofill/browser/personal_data_manager_unittest.cc
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-08 12:33:46 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-08 12:33:46 +0000
commite4d0ed2731bd622c36ded53ae2c9957f6bfc4241 (patch)
tree8eb674b89678c38605c52f5e4ff6125100db8ab9 /components/autofill/browser/personal_data_manager_unittest.cc
parent99dbb184ea5182e07a738a9c901494ccb970d01f (diff)
downloadchromium_src-e4d0ed2731bd622c36ded53ae2c9957f6bfc4241.zip
chromium_src-e4d0ed2731bd622c36ded53ae2c9957f6bfc4241.tar.gz
chromium_src-e4d0ed2731bd622c36ded53ae2c9957f6bfc4241.tar.bz2
Revert 205038 "Un-refcount AutofillWebData and TokenWebData"
Not sure if this is the culprit but lots of bots are red unittest runs in linux mac and chromeos are not completing (timeout) no output. Only for CL common to all, this is one. I'll unrevert if it does not help. > Un-refcount AutofillWebData and TokenWebData > > depends on https://codereview.chromium.org/15927029/ > > BUG=230920 > > Review URL: https://chromiumcodereview.appspot.com/16154031 TBR=caitkp@chromium.org Review URL: https://codereview.chromium.org/15937020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill/browser/personal_data_manager_unittest.cc')
-rw-r--r--components/autofill/browser/personal_data_manager_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/autofill/browser/personal_data_manager_unittest.cc b/components/autofill/browser/personal_data_manager_unittest.cc
index 1a4ffd5..6c20883 100644
--- a/components/autofill/browser/personal_data_manager_unittest.cc
+++ b/components/autofill/browser/personal_data_manager_unittest.cc
@@ -539,9 +539,9 @@ TEST_F(PersonalDataManagerTest, Refresh) {
profile_pointers.push_back(&profile2);
AutofillProfile::AdjustInferredLabels(&profile_pointers);
- AutofillWebDataService* wds =
+ scoped_refptr<AutofillWebDataService> wds =
AutofillWebDataService::FromBrowserContext(profile_.get());
- ASSERT_TRUE(wds);
+ ASSERT_TRUE(wds.get());
wds->AddAutofillProfile(profile2);
personal_data_->Refresh();