fix: MakeAbsoluteFilePath is a blocking call (#23840)
This commit is contained in:
parent
236c1334e3
commit
aa8d81511f
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ base::FilePath NormalizePath(const base::FilePath& path) {
|
|||
return path;
|
||||
}
|
||||
|
||||
base::ThreadRestrictions::ScopedAllowIO allow_blocking;
|
||||
base::FilePath absolute_path = MakeAbsoluteFilePath(path);
|
||||
// MakeAbsoluteFilePath returns an empty path on failures so use original path
|
||||
if (absolute_path.empty()) {
|
||||
|
|
Loading…
Reference in a new issue