Index: chrome/browser/views/panel_controller.cc |
diff --git a/chrome/browser/views/panel_controller.cc b/chrome/browser/views/panel_controller.cc |
index 171a8f04fb059bdce046fa8da64702e998b8966f..102d01811a7ceee3f11fe457494b397670141ff6 100644 |
--- a/chrome/browser/views/panel_controller.cc |
+++ b/chrome/browser/views/panel_controller.cc |
@@ -95,8 +95,8 @@ PanelController::PanelController(BrowserWindowGtk* browser_window) |
} |
void PanelController::UpdateTitleBar() { |
- title_content_->title_label()->SetText( |
- UTF16ToWideHack(browser_window_->browser()->GetCurrentPageTitle())); |
+ title_content_->title_label()->SetText(UTF16ToWideHack( |
+ browser_window_->browser()->GetWindowTitleForCurrentTab())); |
} |
bool PanelController::TitleMousePressed(const views::MouseEvent& event) { |