Index: chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc |
diff --git a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc |
index 414ac09573b2c4f2b3a1d513af451545cd2304f5..27e4671d827e02398b121f5244e72467cb61b1b3 100644 |
--- a/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc |
+++ b/chrome/browser/ui/bluetooth/bluetooth_chooser_controller_unittest.cc |
@@ -351,7 +351,9 @@ TEST_F(BluetoothChooserControllerWithDevicesAddedTest, RefreshOptions) { |
TEST_F(BluetoothChooserControllerWithDevicesAddedTest, |
SelectingOneDeviceShouldCallEventHandler) { |
- bluetooth_chooser_controller_.Select(0); |
+ std::vector<size_t> indices; |
+ indices.push_back(0); |
Reilly Grant (use Gerrit)
2016/11/22 20:55:27
std::vector<size_t> indices{1};
juncai
2016/11/22 23:12:06
Done.
|
+ bluetooth_chooser_controller_.Select(indices); |
EXPECT_EQ(content::BluetoothChooser::Event::SELECTED, last_event_); |
EXPECT_EQ("id_a", last_device_id_); |
} |