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

Issue 2089313006: bluetooth: Avoid use of lambda to work around clang bug. (Closed)

Created:
4 years, 6 months ago by pcc1
Modified:
4 years, 6 months ago
Reviewers:
ortuno, Nico
CC:
chromium-reviews, ortuno+watch_chromium.org, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Avoid use of lambda to work around clang bug. Clang has a bug [1] that is exposed by the use of a lambda in this unit test. Until that is fixed, work around it by turning the lambda into a static function. Should help unblock the next clang roll. [1] https://llvm.org/bugs/show_bug.cgi?id=28299 BUG=623209 R=ortuno@chromium.org,thakis@chromium.org Committed: https://crrev.com/292962a4de3a928fbc25539ab557169b86e89e88 Cr-Commit-Position: refs/heads/master@{#402043}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -14 lines) Patch
M device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc View 1 2 chunks +11 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
pcc1
4 years, 6 months ago (2016-06-25 00:06:32 UTC) #1
ortuno
https://codereview.chromium.org/2089313006/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2089313006/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode403 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:403: static void test_callback( Since this is no longer a ...
4 years, 6 months ago (2016-06-25 00:19:36 UTC) #2
pcc1
https://codereview.chromium.org/2089313006/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc File device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc (right): https://codereview.chromium.org/2089313006/diff/1/device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc#newcode403 device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc:403: static void test_callback( On 2016/06/25 00:19:36, ortuno wrote: > ...
4 years, 6 months ago (2016-06-25 00:26:39 UTC) #3
ortuno
Thanks! lgtm
4 years, 6 months ago (2016-06-25 00:29:31 UTC) #4
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/2089313006/20001
4 years, 6 months ago (2016-06-25 00:30:43 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-25 01:50:04 UTC) #7
commit-bot: I haz the power
4 years, 6 months ago (2016-06-25 01:52:15 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/292962a4de3a928fbc25539ab557169b86e89e88
Cr-Commit-Position: refs/heads/master@{#402043}

Powered by Google App Engine
This is Rietveld 408576698