Index: base/files/file_path_watcher_win.cc |
diff --git a/base/files/file_path_watcher_win.cc b/base/files/file_path_watcher_win.cc |
index 6b1776536a97202a814e7976f179e09cb59a3233..6c10c12d313f2a74b55bb98596405ab98775d5e4 100644 |
--- a/base/files/file_path_watcher_win.cc |
+++ b/base/files/file_path_watcher_win.cc |
@@ -129,6 +129,7 @@ void FilePathWatcherImpl::Cancel() { |
} |
void FilePathWatcherImpl::CancelOnMessageLoopThread() { |
+ DCHECK(message_loop()->BelongsToCurrentThread()); |
set_cancelled(); |
if (handle_ != INVALID_HANDLE_VALUE) |