diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 22:09:44 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-03 22:09:44 +0000 |
commit | a0520bf5f570b43fd9fe916c31ec4ff43fb7240f (patch) | |
tree | 7d7d0a1fca945ed156da85567de7dbbd90dc51b3 /base/directory_watcher_unittest.cc | |
parent | b5a38d4451aa0600e358ae2bb9dd605068d0a5a4 (diff) | |
download | chromium_src-a0520bf5f570b43fd9fe916c31ec4ff43fb7240f.zip chromium_src-a0520bf5f570b43fd9fe916c31ec4ff43fb7240f.tar.gz chromium_src-a0520bf5f570b43fd9fe916c31ec4ff43fb7240f.tar.bz2 |
Make FilePath::Append accept FilePath parameter. Patch by Paweł Hajdan jr
<phajdan.jr@gmail.com>
http://codereview.chromium.org/12907
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6315 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 5121287..a60a248 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 = test_dir_.Append(FILE_PATH_LITERAL("SubDir")); - ASSERT_TRUE(file_util::CreateDirectory(subdir.value())); + FilePath subdir(FILE_PATH_LITERAL("SubDir")); + ASSERT_TRUE(file_util::CreateDirectory(test_dir_.Append(subdir))); DirectoryWatcher watcher; ASSERT_TRUE(watcher.Watch(test_dir_, this)); |