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/extensions/api/declarative | |
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/extensions/api/declarative')
-rw-r--r-- | chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc b/chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc index cbe5b49..a1e3a7c 100644 --- a/chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc +++ b/chrome/browser/extensions/api/declarative/rules_registry_with_cache.cc @@ -79,8 +79,7 @@ RulesRegistryWithCache::RulesRegistryWithCache( scoped_ptr<RuleStorageOnUI>* ui_part) : RulesRegistry(owner_thread, event_name), ready_(false), - ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_((profile) ? this - : NULL)), + weak_ptr_factory_((profile) ? this : NULL), storage_on_ui_((profile ? (new RuleStorageOnUI(profile, GetDeclarativeRuleStorageKey( @@ -277,7 +276,7 @@ RulesRegistryWithCache::RuleStorageOnUI::RuleStorageOnUI( registry_(registry), rules_registry_thread_(rules_registry_thread), ready_state_(NOT_READY), - ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {} + weak_ptr_factory_(this) {} RulesRegistryWithCache::RuleStorageOnUI::~RuleStorageOnUI() {} |