fix: folder open not working in devtools (#15387)
This commit is contained in:
parent
1f3a89197c
commit
d21d83cfc8
2 changed files with 11 additions and 1 deletions
|
@ -512,8 +512,9 @@ void InspectableWebContentsImpl::ShowItemInFolder(
|
|||
const std::string& file_system_path) {
|
||||
if (file_system_path.empty())
|
||||
return;
|
||||
|
||||
base::FilePath path = base::FilePath::FromUTF8Unsafe(file_system_path);
|
||||
platform_util::ShowItemInFolder(path);
|
||||
platform_util::OpenItem(path);
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::SaveToFile(const std::string& url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue