Index: device/bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc |
diff --git a/device/bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc b/device/bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc |
index 779e9b702e72f3a23339c1193c8f863a3d5562ab..555a41d7994ea265a98125a3d5c4822d7e9cb144 100644 |
--- a/device/bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc |
+++ b/device/bluetooth/bluez/bluetooth_adapter_profile_bluez_unittest.cc |
@@ -8,7 +8,7 @@ |
#include "base/bind.h" |
#include "base/run_loop.h" |
-#include "base/test/scoped_task_scheduler.h" |
+#include "base/test/scoped_task_environment.h" |
#include "device/bluetooth/bluetooth_adapter.h" |
#include "device/bluetooth/bluetooth_adapter_factory.h" |
#include "device/bluetooth/bluetooth_uuid.h" |
@@ -150,7 +150,7 @@ class BluetoothAdapterProfileBlueZTest : public testing::Test { |
} |
protected: |
- base::test::ScopedTaskScheduler scoped_task_scheduler_; |
+ base::test::ScopedTaskEnvironment scoped_task_environment_; |
scoped_refptr<BluetoothAdapter> adapter_; |