diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 03:14:09 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-01 03:14:09 +0000 |
commit | 9c009098a0f38f9a00b8c00de4f32398e4361221 (patch) | |
tree | 783e9bce53169c847ab877319bd7bc106804f197 /chrome/browser/webdata | |
parent | c274c75edef56e91a2104c8ddac8d20b6efeb628 (diff) | |
download | chromium_src-9c009098a0f38f9a00b8c00de4f32398e4361221.zip chromium_src-9c009098a0f38f9a00b8c00de4f32398e4361221.tar.gz chromium_src-9c009098a0f38f9a00b8c00de4f32398e4361221.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/webdata')
-rw-r--r-- | chrome/browser/webdata/autocomplete_syncable_service.cc | 4 | ||||
-rw-r--r-- | chrome/browser/webdata/autofill_profile_syncable_service.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/webdata/autocomplete_syncable_service.cc b/chrome/browser/webdata/autocomplete_syncable_service.cc index 11edecd..f61d76a 100644 --- a/chrome/browser/webdata/autocomplete_syncable_service.cc +++ b/chrome/browser/webdata/autocomplete_syncable_service.cc @@ -94,7 +94,7 @@ void* UserDataKey() { AutocompleteSyncableService::AutocompleteSyncableService( AutofillWebDataService* web_data_service) : web_data_service_(web_data_service), - ALLOW_THIS_IN_INITIALIZER_LIST(scoped_observer_(this)), + scoped_observer_(this), cull_expired_entries_(false) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); DCHECK(web_data_service_); @@ -122,7 +122,7 @@ AutocompleteSyncableService* AutocompleteSyncableService::FromWebDataService( AutocompleteSyncableService::AutocompleteSyncableService() : web_data_service_(NULL), - ALLOW_THIS_IN_INITIALIZER_LIST(scoped_observer_(this)), + scoped_observer_(this), cull_expired_entries_(false) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); } diff --git a/chrome/browser/webdata/autofill_profile_syncable_service.cc b/chrome/browser/webdata/autofill_profile_syncable_service.cc index 9d27656..0ed8876 100644 --- a/chrome/browser/webdata/autofill_profile_syncable_service.cc +++ b/chrome/browser/webdata/autofill_profile_syncable_service.cc @@ -52,7 +52,7 @@ AutofillProfileSyncableService::AutofillProfileSyncableService( const std::string& app_locale) : web_data_service_(web_data_service), app_locale_(app_locale), - ALLOW_THIS_IN_INITIALIZER_LIST(scoped_observer_(this)) { + scoped_observer_(this) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); DCHECK(web_data_service_); @@ -82,7 +82,7 @@ AutofillProfileSyncableService::FromWebDataService( AutofillProfileSyncableService::AutofillProfileSyncableService() : web_data_service_(NULL), - ALLOW_THIS_IN_INITIALIZER_LIST(scoped_observer_(this)) { + scoped_observer_(this) { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB)); } |