Index: chrome/browser/ui/views/options/advanced_contents_view.cc |
diff --git a/chrome/browser/ui/views/options/advanced_contents_view.cc b/chrome/browser/ui/views/options/advanced_contents_view.cc |
index ae216a4a06320649e1b6d53fb79bdc8437724481..01e4ef3b38dd7a95ad74ef056cb9444153c0d716 100644 |
--- a/chrome/browser/ui/views/options/advanced_contents_view.cc |
+++ b/chrome/browser/ui/views/options/advanced_contents_view.cc |
@@ -136,7 +136,7 @@ void FileDisplayArea::SetFile(const FilePath& file_path) { |
base::i18n::WrapPathWithLTRFormatting(file_path, &localized_file_path); |
text_field_->SetText(UTF16ToWide(localized_file_path)); |
} else { |
- text_field_->SetText(file_path.ToWStringHack()); |
+ text_field_->SetText(file_path.LossyDisplayName()); |
} |
} |