diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 01:13:48 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-30 01:13:48 +0000 |
commit | edc2b1b35a885a0b7155e0c5349366ccca050645 (patch) | |
tree | 43d83644201524f56483c2db7009d7d1c18fa78e /apps | |
parent | 69e797f6f8534d551b5e9bcb3c559fa173c23e67 (diff) | |
download | chromium_src-edc2b1b35a885a0b7155e0c5349366ccca050645.zip chromium_src-edc2b1b35a885a0b7155e0c5349366ccca050645.tar.gz chromium_src-edc2b1b35a885a0b7155e0c5349366ccca050645.tar.bz2 |
apps: Remove 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
R=jeremya@chromium.org
Review URL: https://codereview.chromium.org/14511002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197207 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'apps')
-rw-r--r-- | apps/shortcut_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/shortcut_manager.cc b/apps/shortcut_manager.cc index e3fb8e6..c002100 100644 --- a/apps/shortcut_manager.cc +++ b/apps/shortcut_manager.cc @@ -19,7 +19,7 @@ namespace apps { ShortcutManager::ShortcutManager(Profile* profile) : profile_(profile), - ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) { + weak_factory_(this) { registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, content::Source<Profile>(profile_)); registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNINSTALLED, |