summaryrefslogtreecommitdiffstats
path: root/base/directory_watcher_win.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-03 10:43:17 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-03 10:43:17 +0000
commit5b6dc77fd4c72985aec5197cb4e03e763aff631f (patch)
tree4fdc430f814d604202d329bc41fb3cde9deb941c /base/directory_watcher_win.cc
parenta730335f3dfc06d91741790f79fc30463fb18dfe (diff)
downloadchromium_src-5b6dc77fd4c72985aec5197cb4e03e763aff631f.zip
chromium_src-5b6dc77fd4c72985aec5197cb4e03e763aff631f.tar.gz
chromium_src-5b6dc77fd4c72985aec5197cb4e03e763aff631f.tar.bz2
Reverting 7537. DirectoryWatcherTest.SubDir was passing on my XP box, but fails on the buildbot.
TBR=maruel Review URL: http://codereview.chromium.org/17048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7538 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/directory_watcher_win.cc')
-rw-r--r--base/directory_watcher_win.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/base/directory_watcher_win.cc b/base/directory_watcher_win.cc
index 68da1e50..cdaec39 100644
--- a/base/directory_watcher_win.cc
+++ b/base/directory_watcher_win.cc
@@ -42,7 +42,6 @@ DirectoryWatcher::Impl::~Impl() {
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(),