commit | 2b7c950db8479f81107964e39e01e868844534a4 | [log] [tgz] |
---|---|---|
author | Jeremy Roman <jbroman@chromium.org> | Wed Aug 21 22:34:08 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Aug 21 22:34:08 2019 |
tree | 261a474b062848694ac99bfc3ffc03b2018c0c44 | |
parent | 1b9b415c931c058f4d0684793831d5b467547ecf [diff] [blame] |
Use in-class initializers for base::WeakPtrFactory (remaining uses on Windows). Changed NULL to nullptr where the presubmit complained (due to new line wrapping). Generated by: https://chromium-review.googlesource.com/c/chromium/src/+/1689216 Bug: 981415 Tbr: gab@chromium.org Change-Id: I1f9c781cd980150ad1eecee9342be2e3116617b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763040 Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Gabriel Charette <gab@chromium.org> Reviewed-by: Bruce Dawson <brucedawson@chromium.org> Commit-Queue: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#689209}
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_winrt.cc b/device/bluetooth/bluetooth_remote_gatt_descriptor_winrt.cc index 85532b7..f43f3d1 100644 --- a/device/bluetooth/bluetooth_remote_gatt_descriptor_winrt.cc +++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_winrt.cc
@@ -243,8 +243,7 @@ identifier_(base::StringPrintf("%s/%s_%04x", characteristic_->GetIdentifier().c_str(), uuid_.value().c_str(), - attribute_handle)), - weak_ptr_factory_(this) {} + attribute_handle)) {} void BluetoothRemoteGattDescriptorWinrt::OnReadValue( ComPtr<IGattReadResult> read_result) {