Fix Windows build error about passing std::string to base::FilePath::Append

This commit is contained in:
Adam Roben 2013-05-14 14:47:33 -04:00
parent a6c5cb04f7
commit 5fa005d5da

View file

@ -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 {