summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service_autofill_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_autofill_unittest.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service_autofill_unittest.cc7
1 files changed, 3 insertions, 4 deletions
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<T>& 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) {
}