From 5fa005d5da7aaf3be314cf2468c5f1b82bf688d6 Mon Sep 17 00:00:00 2001 From: Adam Roben Date: Tue, 14 May 2013 14:47:33 -0400 Subject: [PATCH] Fix Windows build error about passing std::string to base::FilePath::Append --- brightray/browser/browser_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brightray/browser/browser_context.cc b/brightray/browser/browser_context.cc index f4ab576e09b..c8b923977d3 100644 --- a/brightray/browser/browser_context.cc +++ b/brightray/browser/browser_context.cc @@ -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 {