summaryrefslogtreecommitdiffstats
path: root/base/file_util_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util_proxy.cc')
-rw-r--r--base/file_util_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_util_proxy.cc b/base/file_util_proxy.cc
index 6d16043..b3b18f8 100644
--- a/base/file_util_proxy.cc
+++ b/base/file_util_proxy.cc
@@ -27,7 +27,7 @@ static base::PlatformFileError PerformCommonCheckAndPreparationForMoveAndCopy(
return base::PLATFORM_FILE_ERROR_NOT_FOUND;
// It is an error to try to copy/move an entry into its child.
- if (file_util::ContainsPath(src_file_path, dest_file_path))
+ if (src_file_path.IsParent(dest_file_path))
return base::PLATFORM_FILE_ERROR_INVALID_OPERATION;
// Now it is ok to return if the |dest_file_path| does not exist.