Index: device/bluetooth/bluetooth_gatt_chromeos_unittest.cc |
diff --git a/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc b/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc |
index 24eebaf43663f1a5b57a0f3e19fefd997efab572..d93dcc2f665251c2ef19ee1560885ec0b789ffee 100644 |
--- a/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc |
+++ b/device/bluetooth/bluetooth_gatt_chromeos_unittest.cc |
@@ -168,7 +168,7 @@ class BluetoothGattChromeOSTest : public testing::Test { |
void QuitMessageLoop() { |
if (base::MessageLoop::current() && |
base::MessageLoop::current()->is_running()) |
- base::MessageLoop::current()->Quit(); |
+ base::MessageLoop::current()->QuitWhenIdle(); |
} |
base::MessageLoop message_loop_; |