diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-20 22:07:32 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-20 22:07:32 +0000 |
commit | 731f8a457d14ed49c2aed56fd5a59d1719837171 (patch) | |
tree | 3cfaaccd4e666fb455df028a7e856ebebef4e95d /chrome/browser/gtk | |
parent | 772836b19450e8e15ac98e6f783af0fc1a2fb8e3 (diff) | |
download | chromium_src-731f8a457d14ed49c2aed56fd5a59d1719837171.zip chromium_src-731f8a457d14ed49c2aed56fd5a59d1719837171.tar.gz chromium_src-731f8a457d14ed49c2aed56fd5a59d1719837171.tar.bz2 |
Fix misleading name and comment of Browser::GetCurrentPageTitle.
GetWindowTitleForCurrentTab more accurately describes what this function really does.
TEST=none
http://crbug.com/16231
Review URL: http://codereview.chromium.org/155534
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc index 1eaaeaf..913b4ec 100644 --- a/chrome/browser/gtk/browser_window_gtk.cc +++ b/chrome/browser/gtk/browser_window_gtk.cc @@ -585,7 +585,7 @@ void BrowserWindowGtk::UpdateTitleBar() { panel_controller_->UpdateTitleBar(); #endif - string16 title = browser_->GetCurrentPageTitle(); + string16 title = browser_->GetWindowTitleForCurrentTab(); gtk_window_set_title(window_, UTF16ToUTF8(title).c_str()); if (ShouldShowWindowIcon()) { // TODO(tc): If we're showing a title bar, we should update the app icon. |