windows build fixes

This commit is contained in:
Jeremy Rose 2021-03-22 15:49:43 -07:00
parent ea62ecd188
commit 5b598037bb
2 changed files with 3 additions and 2 deletions

View file

@ -267,7 +267,7 @@ bool WebContentsPreferences::GetPreloadPath(base::FilePath* path) const {
#else
preload_url = GURL(preload_path);
#endif
if (net::FileURLToFilePath(GURL(preload_path), &preload)) {
if (net::FileURLToFilePath(preload_url, &preload)) {
*path = std::move(preload);
return true;
} else {