Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1610)

Unified Diff: base/directory_watcher_win.cc

Issue 16580: Don't DCHECK if a watched directory doesn't exist. (Closed)
Patch Set: Created 11 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/directory_watcher_win.cc
diff --git a/base/directory_watcher_win.cc b/base/directory_watcher_win.cc
index cdaec393e2c6cc897d98ef8d0d521bd1ae54f5d0..cdc1e2f5904ce21602ffa33b1fb57a7cb67aec5b 100644
--- a/base/directory_watcher_win.cc
+++ b/base/directory_watcher_win.cc
@@ -49,7 +49,6 @@ bool DirectoryWatcher::Impl::Watch(const FilePath& path) {
FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_SIZE |
FILE_NOTIFY_CHANGE_LAST_WRITE);
if (handle_ == INVALID_HANDLE_VALUE) {
Evan Martin 2009/01/07 18:47:57 can remove the curlies now if you care
- NOTREACHED();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698