diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-18 21:03:29 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-18 21:03:29 +0000 |
commit | cd3d50d691726ab143e47567a8e1f382f9e2996c (patch) | |
tree | bc8d8c14e16fa175f136ac4d9ffd955e1d6f6642 | |
parent | 4c474f17efb98227045c64ed3b96f031ab88d2a0 (diff) | |
download | chromium_src-cd3d50d691726ab143e47567a8e1f382f9e2996c.zip chromium_src-cd3d50d691726ab143e47567a8e1f382f9e2996c.tar.gz chromium_src-cd3d50d691726ab143e47567a8e1f382f9e2996c.tar.bz2 |
View source page's title isn't distiuishable from normal page's title.
BUG=67439
TBR=yurys
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69655 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/browser.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc index 89d6e49..f3e8cbb7 100644 --- a/chrome/browser/ui/browser.cc +++ b/chrome/browser/ui/browser.cc @@ -4169,6 +4169,8 @@ void Browser::ViewSource(TabContentsWrapper* contents) { GURL url = GURL(chrome::kViewSourceScheme + std::string(":") + active_entry->url().spec()); active_entry->set_virtual_url(url); + // Do not restore title, derive it from the url. + active_entry->set_title(string16()); InsertContentsDupe(contents, view_source_contents); } |