windows build fixes
This commit is contained in:
parent
ea62ecd188
commit
5b598037bb
2 changed files with 3 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue