Index: base/files/file_path_watcher_mac.cc |
diff --git a/base/files/file_path_watcher_mac.cc b/base/files/file_path_watcher_mac.cc |
index 7b61f765509a8715536c3d522182e15ac7d9a339..c3b9351b859128275725d5517da91f4f3e078e7f 100644 |
--- a/base/files/file_path_watcher_mac.cc |
+++ b/base/files/file_path_watcher_mac.cc |
@@ -427,7 +427,7 @@ bool FilePathWatcherImpl::Watch(const FilePath& path, |
target_ = path; |
MessageLoop::current()->AddDestructionObserver(this); |
- io_message_loop_ = base::MessageLoopProxy::CreateForCurrentThread(); |
+ io_message_loop_ = base::MessageLoopProxy::current(); |
kqueue_ = kqueue(); |
if (kqueue_ == -1) { |