diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 22:17:01 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 22:17:01 +0000 |
commit | c6a4afd88a79ae19a6202fa05df28da813795d99 (patch) | |
tree | 50e8691911db165d88ef95ccc208be33bb718164 /base/directory_watcher_unittest.cc | |
parent | a0520bf5f570b43fd9fe916c31ec4ff43fb7240f (diff) | |
download | chromium_src-c6a4afd88a79ae19a6202fa05df28da813795d99.zip chromium_src-c6a4afd88a79ae19a6202fa05df28da813795d99.tar.gz chromium_src-c6a4afd88a79ae19a6202fa05df28da813795d99.tar.bz2 |
Backing out r6315 due to DirectoryWatcherTest.SubDir (base_unittests) failure
(again)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/directory_watcher_unittest.cc')
-rw-r--r-- | base/directory_watcher_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/directory_watcher_unittest.cc b/base/directory_watcher_unittest.cc index a60a248..5121287 100644 --- a/base/directory_watcher_unittest.cc +++ b/base/directory_watcher_unittest.cc @@ -125,8 +125,8 @@ TEST_F(DirectoryWatcherTest, Unregister) { // Verify that modifications to a subdirectory isn't noticed. TEST_F(DirectoryWatcherTest, SubDir) { - FilePath subdir(FILE_PATH_LITERAL("SubDir")); - ASSERT_TRUE(file_util::CreateDirectory(test_dir_.Append(subdir))); + FilePath subdir = test_dir_.Append(FILE_PATH_LITERAL("SubDir")); + ASSERT_TRUE(file_util::CreateDirectory(subdir.value())); DirectoryWatcher watcher; ASSERT_TRUE(watcher.Watch(test_dir_, this)); |