| Index: device/bluetooth/bluetooth_chromeos_unittest.cc
|
| diff --git a/device/bluetooth/bluetooth_chromeos_unittest.cc b/device/bluetooth/bluetooth_chromeos_unittest.cc
|
| index 1f15bbd83c0a48b42b74b64b55935b4bca76441d..49b5b59ac18e5b3fbd988d766a4cb9e378afe3f1 100644
|
| --- a/device/bluetooth/bluetooth_chromeos_unittest.cc
|
| +++ b/device/bluetooth/bluetooth_chromeos_unittest.cc
|
| @@ -157,7 +157,7 @@ class TestPairingDelegate : public BluetoothDevice::PairingDelegate {
|
| void QuitMessageLoop() {
|
| if (base::MessageLoop::current() &&
|
| base::MessageLoop::current()->is_running()) {
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
| }
|
| };
|
| @@ -354,7 +354,7 @@ class BluetoothChromeOSTest : public testing::Test {
|
| void QuitMessageLoop() {
|
| if (base::MessageLoop::current() &&
|
| base::MessageLoop::current()->is_running()) {
|
| - base::MessageLoop::current()->Quit();
|
| + base::MessageLoop::current()->QuitWhenIdle();
|
| }
|
| }
|
| };
|
|
|