| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 18607)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -898,6 +898,13 @@
|
|
|
| if (tab_contents && tab_contents->delegate())
|
| tab_contents->delegate()->OnStartDownload(download);
|
| +
|
| + // Update the URL display.
|
| + // If the download is caused by typing in a downloadable URL, e.g.,
|
| + // http://example.com/somefile.zip, into the omnibox, the previous URL
|
| + // will reappear.
|
| + if (delegate())
|
| + delegate()->NavigationStateChanged(this, TabContents::INVALIDATE_URL);
|
| }
|
|
|
| void TabContents::WillClose(ConstrainedWindow* window) {
|
|
|