| Index: storage/common/fileapi/file_system_util.cc
|
| diff --git a/storage/common/fileapi/file_system_util.cc b/storage/common/fileapi/file_system_util.cc
|
| index f3d7ddbfac3a42669b417ebfb48379710e59795b..0472c957d28c103b03acf40aa68a05e246da6c4b 100644
|
| --- a/storage/common/fileapi/file_system_util.cc
|
| +++ b/storage/common/fileapi/file_system_util.cc
|
| @@ -138,7 +138,7 @@ base::FilePath::StringType VirtualPath::GetNormalizedFilePath(
|
| }
|
|
|
| bool VirtualPath::IsAbsolute(const base::FilePath::StringType& path) {
|
| - return path.find(kRoot) == 0;
|
| + return base::StartsWith(path, kRoot, base::CompareCase::SENSITIVE);
|
| }
|
|
|
| bool VirtualPath::IsRootPath(const base::FilePath& path) {
|
|
|