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

Issue 2482323002: arc: bluetooth: Replace nullptr with "" for mojo::String (Closed)

Created:
4 years, 1 month ago by puthik_chromium
Modified:
4 years, 1 month ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: bluetooth: Don't use nullptr with device name Don't use nullptr with the device name in mojo types below as they are not defined as nullable in mojom file. - mojom::BluetoothProperty.bdname - mojom::BluetoothAdvertisingData.local_name This fixes Chrome crash in recent build because of the Bluetooth API change in http://crrev.com/2440043002 that make the device name optional. Before that, GetName() will returns MAC address when there is no device name. BUG=663096 TEST=minnie won't crash when scan for new BT device. nRF connect app still has same behavior. Committed: https://crrev.com/68561070668c0f84a0cb2d3d9fc70129fb5ede1b Cr-Commit-Position: refs/heads/master@{#430789}

Patch Set 1 #

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

Messages

Total messages: 17 (10 generated)
puthik_chromium
4 years, 1 month ago (2016-11-08 22:44:02 UTC) #3
Luis Héctor Chávez
Hmmm, can there be a bit more investigation about the crash? "Something" does not seem ...
4 years, 1 month ago (2016-11-08 22:45:23 UTC) #5
Luis Héctor Chávez
discussed offline. as long as the commit description is changed to something a bit more ...
4 years, 1 month ago (2016-11-08 23:24:29 UTC) #6
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/2482323002/1
4 years, 1 month ago (2016-11-09 00:13:52 UTC) #11
puthik_chromium
Found the root cause. Commit message updated.
4 years, 1 month ago (2016-11-09 00:14:28 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-09 00:28:34 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 00:35:41 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/68561070668c0f84a0cb2d3d9fc70129fb5ede1b
Cr-Commit-Position: refs/heads/master@{#430789}

Powered by Google App Engine
This is Rietveld 408576698