mirror of
https://github.com/electron/electron.git
synced 2026-01-29 01:08:18 -05:00
Fix Windows build error about passing std::string to base::FilePath::Append
This commit is contained in:
@@ -74,7 +74,7 @@ net::URLRequestContextGetter* BrowserContext::CreateRequestContext(content::Prot
|
||||
base::FilePath BrowserContext::GetPath() {
|
||||
base::FilePath path;
|
||||
CHECK(PathService::Get(base::DIR_APP_DATA, &path));
|
||||
return path.Append(GetApplicationName());
|
||||
return path.Append(base::FilePath::FromUTF8Unsafe(GetApplicationName()));
|
||||
}
|
||||
|
||||
bool BrowserContext::IsOffTheRecord() const {
|
||||
|
||||
Reference in New Issue
Block a user