| Index: mojo/edk/test/test_io_thread.cc
|
| diff --git a/mojo/edk/test/test_io_thread.cc b/mojo/edk/test/test_io_thread.cc
|
| index b5b9042cf66aa99ad77e70d61a9154328c165175..e7bcac14dc2cee0acbbbf4e1e9a146b72f7ebe4a 100644
|
| --- a/mojo/edk/test/test_io_thread.cc
|
| +++ b/mojo/edk/test/test_io_thread.cc
|
| @@ -21,13 +21,13 @@ void PostTaskAndWaitHelper(base::WaitableEvent* event,
|
|
|
| } // namespace
|
|
|
| -TestIOThread::TestIOThread(Mode mode)
|
| +TestIOThread::TestIOThread(StartMode start_mode)
|
| : io_thread_("test_io_thread"), io_thread_started_(false) {
|
| - switch (mode) {
|
| - case kAutoStart:
|
| + switch (start_mode) {
|
| + case StartMode::AUTO:
|
| Start();
|
| return;
|
| - case kManualStart:
|
| + case StartMode::MANUAL:
|
| return;
|
| }
|
| CHECK(false) << "Invalid mode";
|
|
|