| Index: device/bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc
|
| diff --git a/device/bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc b/device/bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc
|
| index 71627540c7cb5f4837c60899d85405a0da87920f..b19faf57f138ac5b95f1299883fcab41a3dff1b2 100644
|
| --- a/device/bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc
|
| +++ b/device/bluetooth/bluez/bluetooth_advertisement_bluez_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/memory/ptr_util.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/run_loop.h"
|
| #include "device/bluetooth/bluetooth_adapter.h"
|
| #include "device/bluetooth/bluetooth_adapter_factory.h"
|
| #include "device/bluetooth/bluetooth_advertisement.h"
|
| @@ -82,7 +83,7 @@ class BluetoothAdvertisementBlueZTest : public testing::Test {
|
| BluetoothAdapterFactory::GetAdapter(
|
| base::Bind(&BluetoothAdvertisementBlueZTest::GetAdapterCallback,
|
| base::Unretained(this)));
|
| - base::MessageLoop::current()->Run();
|
| + base::RunLoop().Run();
|
| }
|
|
|
| // Called whenever BluetoothAdapter is retrieved successfully.
|
|
|