Fix Windows build error about passing std::string to base::FilePath::Append
This commit is contained in:
parent
a6c5cb04f7
commit
5fa005d5da
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue