summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 19:50:41 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 19:50:41 +0000
commitcf145a214123822304e2975e3260f829ec8a3769 (patch)
treea3bad4f2d1c41193d52f201ebc6d37446fae2b8c /device
parentd0947db40187f4708c58e64cbd6013faf9eddeed (diff)
downloadchromium_src-cf145a214123822304e2975e3260f829ec8a3769.zip
chromium_src-cf145a214123822304e2975e3260f829ec8a3769.tar.gz
chromium_src-cf145a214123822304e2975e3260f829ec8a3769.tar.bz2
device: 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 Review URL: https://codereview.chromium.org/14478006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device')
-rw-r--r--device/bluetooth/bluetooth_adapter_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/bluetooth/bluetooth_adapter_win.cc b/device/bluetooth/bluetooth_adapter_win.cc
index ef5d6d9..f6ca1d6 100644
--- a/device/bluetooth/bluetooth_adapter_win.cc
+++ b/device/bluetooth/bluetooth_adapter_win.cc
@@ -25,7 +25,7 @@ BluetoothAdapterWin::BluetoothAdapterWin(const InitCallback& init_callback)
powered_(false),
discovery_status_(NOT_DISCOVERING),
num_discovery_listeners_(0),
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) {
+ weak_ptr_factory_(this) {
}
BluetoothAdapterWin::~BluetoothAdapterWin() {