Index: chrome/browser/browser.cc |
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc |
index 727d1283734260d1de433e8416b8fd190f6f36f8..ab5037aeb27f0eb01bafcb8678cc20b16ff647df 100644 |
--- a/chrome/browser/browser.cc |
+++ b/chrome/browser/browser.cc |
@@ -1949,7 +1949,7 @@ void Browser::RenderWidgetShowing() { |
// Browser, SelectFileDialog::Listener implementation: |
void Browser::FileSelected(const FilePath& path, int index, void* params) { |
- GURL file_url = net::FilePathToFileURL(path.ToWStringHack()); |
+ GURL file_url = net::FilePathToFileURL(path); |
if (!file_url.is_empty()) |
OpenURL(file_url, GURL(), CURRENT_TAB, PageTransition::TYPED); |
} |