Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Issue 2172063002: arc: bluetooth: Don't unset bluetooth_adapter_ (Closed)

Created:
4 years, 5 months ago by puthik_chromium
Modified:
4 years, 4 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: bluetooth: Remove AdapterPresentChanged override There is no reason to unset bluetooth_adapter_. If the adapter is not present, making calls to it will simply invoke the error callback. Just removing this should fix the crash. BUG=630069 TEST=build Committed: https://crrev.com/f1cfa2249cf447ad0b257fad881eb948d24483cb Cr-Commit-Position: refs/heads/master@{#407590}

Patch Set 1 #

Total comments: 3

Patch Set 2 : arc: bluetooth: Remove AdapterPresentChanged override #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -14 lines) Patch
M components/arc/bluetooth/arc_bluetooth_bridge.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 2 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
puthik_chromium
From suggestion in http://crbug.com/630069#c6
4 years, 5 months ago (2016-07-22 00:47:47 UTC) #2
Luis Héctor Chávez
https://codereview.chromium.org/2172063002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (left): https://codereview.chromium.org/2172063002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#oldcode110 components/arc/bluetooth/arc_bluetooth_bridge.cc:110: bluetooth_adapter_ = nullptr; is it guaranteed that the adapter ...
4 years, 5 months ago (2016-07-22 01:53:24 UTC) #3
rkc
https://codereview.chromium.org/2172063002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (left): https://codereview.chromium.org/2172063002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#oldcode105 components/arc/bluetooth/arc_bluetooth_bridge.cc:105: void ArcBluetoothBridge::AdapterPresentChanged(BluetoothAdapter* adapter, Why is this override necessary at ...
4 years, 5 months ago (2016-07-22 19:59:49 UTC) #4
puthik_chromium
https://codereview.chromium.org/2172063002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (left): https://codereview.chromium.org/2172063002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#oldcode105 components/arc/bluetooth/arc_bluetooth_bridge.cc:105: void ArcBluetoothBridge::AdapterPresentChanged(BluetoothAdapter* adapter, On 2016/07/22 19:59:48, rkc wrote: > ...
4 years, 5 months ago (2016-07-22 22:46:13 UTC) #8
rkc
lgtm
4 years, 4 months ago (2016-07-25 20:39:10 UTC) #11
Luis Héctor Chávez
rs-lgtm since you're just removing code and rkc@ already reviewed.
4 years, 4 months ago (2016-07-25 20:41:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2172063002/20001
4 years, 4 months ago (2016-07-25 20:44:47 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/40914) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 4 months ago (2016-07-25 20:47:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2172063002/40001
4 years, 4 months ago (2016-07-25 21:06:14 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-07-25 21:40:53 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-07-25 21:43:51 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f1cfa2249cf447ad0b257fad881eb948d24483cb
Cr-Commit-Position: refs/heads/master@{#407590}

Powered by Google App Engine
This is Rietveld 408576698