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 bc8d0c10df5f7d3105a34b6636e1f394c1f492cb..2d417576d4fb12ffdea3cf5677047b3b416dc2aa 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" |
@@ -148,7 +148,7 @@ class BluetoothAdapterProfileBlueZTest : public testing::Test { |
} |
protected: |
- base::test::ScopedTaskScheduler scoped_task_scheduler_; |
+ base::test::ScopedTaskEnvironment scoped_task_environment_; |
scoped_refptr<BluetoothAdapter> adapter_; |