Index: shell/application_manager/local_fetcher.cc |
diff --git a/shell/application_manager/local_fetcher.cc b/shell/application_manager/local_fetcher.cc |
index 9d23613e3b9fcddd61fefd98aa3233d824acbc1d..d9f2b6a460e84f7f73a8fb0782a3034303642dba 100644 |
--- a/shell/application_manager/local_fetcher.cc |
+++ b/shell/application_manager/local_fetcher.cc |
@@ -40,13 +40,7 @@ base::FilePath LocalFetcher::UrlToFile(const GURL& url) { |
url::DecodeURLEscapeSequences(url.path().data(), |
static_cast<int>(url.path().length()), &output); |
base::string16 decoded_path = base::string16(output.data(), output.length()); |
-#if defined(OS_WIN) |
- base::TrimString(decoded_path, L"/", &decoded_path); |
- base::FilePath path(decoded_path); |
-#else |
- base::FilePath path(base::UTF16ToUTF8(decoded_path)); |
-#endif |
- return path; |
+ return base::FilePath(base::UTF16ToUTF8(decoded_path)); |
} |
const GURL& LocalFetcher::GetURL() const { |