Index: base/files/file_path_watcher_linux.cc |
diff --git a/base/files/file_path_watcher_linux.cc b/base/files/file_path_watcher_linux.cc |
index 0fb10e4590e448dadb90f23e5492e153efce0297..aa116e37a1657f12384764e122a4db099c99836c 100644 |
--- a/base/files/file_path_watcher_linux.cc |
+++ b/base/files/file_path_watcher_linux.cc |
@@ -370,7 +370,7 @@ bool FilePathWatcherImpl::Watch(const FilePath& path, |
DCHECK(target_.empty()); |
DCHECK(MessageLoopForIO::current()); |
- set_message_loop(base::MessageLoopProxy::CreateForCurrentThread()); |
+ set_message_loop(base::MessageLoopProxy::current()); |
delegate_ = delegate; |
target_ = path; |
MessageLoop::current()->AddDestructionObserver(this); |