summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugins
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 03:14:09 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-01 03:14:09 +0000
commit9c009098a0f38f9a00b8c00de4f32398e4361221 (patch)
tree783e9bce53169c847ab877319bd7bc106804f197 /chrome/browser/plugins
parentc274c75edef56e91a2104c8ddac8d20b6efeb628 (diff)
downloadchromium_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/plugins')
-rw-r--r--chrome/browser/plugins/plugin_info_message_filter.cc2
-rw-r--r--chrome/browser/plugins/plugin_observer.cc2
-rw-r--r--chrome/browser/plugins/plugin_status_pref_setter.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc
index 75becef..aeb4c4e 100644
--- a/chrome/browser/plugins/plugin_info_message_filter.cc
+++ b/chrome/browser/plugins/plugin_info_message_filter.cc
@@ -90,7 +90,7 @@ PluginInfoMessageFilter::PluginInfoMessageFilter(
int render_process_id,
Profile* profile)
: context_(render_process_id, profile),
- weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
+ weak_ptr_factory_(this) {
}
bool PluginInfoMessageFilter::OnMessageReceived(const IPC::Message& message,
diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc
index 8455057..61c2bc4 100644
--- a/chrome/browser/plugins/plugin_observer.cc
+++ b/chrome/browser/plugins/plugin_observer.cc
@@ -174,7 +174,7 @@ class PluginObserver::PluginPlaceholderHost : public PluginInstallerObserver {
PluginObserver::PluginObserver(content::WebContents* web_contents)
: content::WebContentsObserver(web_contents),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {
+ weak_ptr_factory_(this) {
}
PluginObserver::~PluginObserver() {
diff --git a/chrome/browser/plugins/plugin_status_pref_setter.cc b/chrome/browser/plugins/plugin_status_pref_setter.cc
index e7a6b9d..b5dd358 100644
--- a/chrome/browser/plugins/plugin_status_pref_setter.cc
+++ b/chrome/browser/plugins/plugin_status_pref_setter.cc
@@ -22,7 +22,7 @@ using content::PluginService;
PluginStatusPrefSetter::PluginStatusPrefSetter()
: profile_(NULL),
- ALLOW_THIS_IN_INITIALIZER_LIST(factory_(this)) {}
+ factory_(this) {}
PluginStatusPrefSetter::~PluginStatusPrefSetter() {
}