Chromium Code Reviews| Index: base/directory_watcher_win.cc |
| =================================================================== |
| --- base/directory_watcher_win.cc (revision 7533) |
| +++ base/directory_watcher_win.cc (working copy) |
| @@ -42,6 +42,7 @@ |
| bool DirectoryWatcher::Impl::Watch(const FilePath& path) { |
| DCHECK(path_.value().empty()); // Can only watch one path. |
| + DCHECK(path.IsAbsolute()); // FindFirstChangeNotification requires it. |
| handle_ = FindFirstChangeNotification( |
| path.value().c_str(), |