| Index: base/files/file_path_watcher_kqueue.h
|
| diff --git a/base/files/file_path_watcher_kqueue.h b/base/files/file_path_watcher_kqueue.h
|
| index aa13af3e7071610e7d4b3a3e65786af102b459ff..982a74b46813007583d5cd9e4624121ca1306756 100644
|
| --- a/base/files/file_path_watcher_kqueue.h
|
| +++ b/base/files/file_path_watcher_kqueue.h
|
| @@ -11,7 +11,6 @@
|
| #include "base/files/file_path.h"
|
| #include "base/files/file_path_watcher.h"
|
| #include "base/message_loop/message_loop.h"
|
| -#include "base/message_loop/message_loop_proxy.h"
|
|
|
| namespace base {
|
|
|
| @@ -59,7 +58,7 @@ class FilePathWatcherKQueue : public FilePathWatcher::PlatformDelegate,
|
|
|
| typedef std::vector<struct kevent> EventVector;
|
|
|
| - // Can only be called on |io_message_loop_|'s thread.
|
| + // Can only be called on |io_task_runner_|'s thread.
|
| virtual void CancelOnMessageLoopThread() override;
|
|
|
| // Returns true if the kevent values are error free.
|
| @@ -118,7 +117,7 @@ class FilePathWatcherKQueue : public FilePathWatcher::PlatformDelegate,
|
| }
|
|
|
| EventVector events_;
|
| - scoped_refptr<base::MessageLoopProxy> io_message_loop_;
|
| + scoped_refptr<base::SequencedTaskRunner> io_task_runner_;
|
| MessageLoopForIO::FileDescriptorWatcher kqueue_watcher_;
|
| FilePathWatcher::Callback callback_;
|
| FilePath target_;
|
|
|