From 9c009098a0f38f9a00b8c00de4f32398e4361221 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Wed, 1 May 2013 03:14:09 +0000 Subject: chrome: Remove the remaining use of ALLOW_THIS_IN_INITIALIZER_LIST. It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/14712004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197552 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/sync/profile_sync_service_autofill_unittest.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'chrome/browser/sync/profile_sync_service_autofill_unittest.cc') diff --git a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc index 4298614..2418abe 100644 --- a/chrome/browser/sync/profile_sync_service_autofill_unittest.cc +++ b/chrome/browser/sync/profile_sync_service_autofill_unittest.cc @@ -446,7 +446,7 @@ class ProfileSyncServiceAutofillTest protected: ProfileSyncServiceAutofillTest() - : debug_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { + : debug_ptr_factory_(this) { } virtual ~ProfileSyncServiceAutofillTest() { } @@ -730,9 +730,8 @@ class AddAutofillHelper { public: AddAutofillHelper(ProfileSyncServiceAutofillTest* test, const std::vector& entries) - : ALLOW_THIS_IN_INITIALIZER_LIST(callback_( - base::Bind(&AddAutofillHelper::AddAutofillCallback, - base::Unretained(this), test, entries))), + : callback_(base::Bind(&AddAutofillHelper::AddAutofillCallback, + base::Unretained(this), test, entries)), success_(false) { } -- cgit v1.1