Index: extensions/browser/api/bluetooth/bluetooth_apitest.cc |
diff --git a/extensions/browser/api/bluetooth/bluetooth_apitest.cc b/extensions/browser/api/bluetooth/bluetooth_apitest.cc |
index 19d09eb15203869e5239a637ecb18d6938696ecd..fbd660056324de04868f79e8d6dfd36aad6e5e6f 100644 |
--- a/extensions/browser/api/bluetooth/bluetooth_apitest.cc |
+++ b/extensions/browser/api/bluetooth/bluetooth_apitest.cc |
@@ -197,8 +197,7 @@ IN_PROC_BROWSER_TEST_F(BluetoothApiTest, Discovery) { |
.WillOnce( |
testing::Invoke(this, &BluetoothApiTest::DiscoverySessionCallback)); |
start_function = setupFunction(new api::BluetoothStartDiscoveryFunction); |
- (void) |
- utils::RunFunctionAndReturnError(start_function.get(), "[]", browser()); |
+ utils::RunFunction(start_function.get(), "[]", browser(), utils::NONE); |
// End the discovery session. The StopDiscovery function should succeed. |
testing::Mock::VerifyAndClearExpectations(mock_adapter_); |