| Index: chrome/test/chromedriver/chrome/adb_impl.cc
|
| diff --git a/chrome/test/chromedriver/chrome/adb_impl.cc b/chrome/test/chromedriver/chrome/adb_impl.cc
|
| index 0fa1478ab860bcfa853a9705f50e9efa3d35a174..c4a38f8db017a199ce4e390eb7e74c6785f48d54 100644
|
| --- a/chrome/test/chromedriver/chrome/adb_impl.cc
|
| +++ b/chrome/test/chromedriver/chrome/adb_impl.cc
|
| @@ -64,7 +64,7 @@ class ResponseBuffer : public base::RefCountedThreadSafe<ResponseBuffer> {
|
| void ExecuteCommandOnIOThread(
|
| const std::string& command, scoped_refptr<ResponseBuffer> response_buffer,
|
| int port) {
|
| - CHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO));
|
| + CHECK(base::MessageLoopForIO::IsCurrent());
|
| AdbClientSocket::AdbQuery(port, command,
|
| base::Bind(&ResponseBuffer::OnResponse, response_buffer));
|
| }
|
|
|