Chromium Code Reviews| Index: chrome/browser/navigation_controller.cc |
| =================================================================== |
| --- chrome/browser/navigation_controller.cc (revision 4245) |
| +++ chrome/browser/navigation_controller.cc (working copy) |
| @@ -491,10 +491,6 @@ |
| std::wstring(), transition); |
| entry->set_display_url(url); |
| entry->set_user_typed_url(url); |
| - if (url.SchemeIsFile()) { |
| - entry->set_title(file_util::GetFilenameFromPath(UTF8ToWide(url.host() + |
| - url.path()))); |
| - } |
| return entry; |
| } |