| Index: tools/android/forwarder2/device_controller.cc
|
| diff --git a/tools/android/forwarder2/device_controller.cc b/tools/android/forwarder2/device_controller.cc
|
| index 7236baf97d0e1c355017f80cfb717bf27f911207..5c018d9cbebafb18f4494f50040414a153fc192f 100644
|
| --- a/tools/android/forwarder2/device_controller.cc
|
| +++ b/tools/android/forwarder2/device_controller.cc
|
| @@ -37,7 +37,7 @@ std::unique_ptr<DeviceController> DeviceController::Create(
|
| }
|
|
|
| DeviceController::~DeviceController() {
|
| - DCHECK(construction_task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(construction_task_runner_->RunsTasksInCurrentSequence());
|
| }
|
|
|
| void DeviceController::Start() {
|
| @@ -145,7 +145,7 @@ void DeviceController::DeleteListenerOnError(
|
| // ownership.
|
| return;
|
| }
|
| - DCHECK(controller->construction_task_runner_->RunsTasksOnCurrentThread());
|
| + DCHECK(controller->construction_task_runner_->RunsTasksInCurrentSequence());
|
| bool listener_did_exist = DeleteRefCountedValueInMap(
|
| listener->listener_port(), &controller->listeners_);
|
| DCHECK(listener_did_exist);
|
|
|