DescriptionFiles.app: Fix DCHECK in FakeFileSystem.
Previous DCHECK uses IsUnderDriveMountPoint method which takes paths for
external file system. But the paths used in FakeFileSystem are drive paths that
are extracted from external file system paths. So it goes into infinity loop
during traversing parent directory when a path pointing the out of my drive
directory is given.
The CL removes the check, and add util::GetDriveMyDriveRootPath().IsParent(file_path) to
prevent the infinity loop.
BUG=None
TEST=None
Committed: https://crrev.com/bb138d429978b5b0b2b266d91a23538b10673593
Cr-Commit-Position: refs/heads/master@{#296644}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fixed. #
Total comments: 2
Patch Set 3 : #Messages
Total messages: 10 (2 generated)
|