From 905075182a7867d5345284951980fb5ceb09bff7 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 10 Jul 2009 22:44:14 +0000 Subject: Fixed compile breakage resulting from wstring to string16 change. BUG=none TEST=none TBR=ben Review URL: http://codereview.chromium.org/149484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20431 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/panel_controller.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser') diff --git a/chrome/browser/views/panel_controller.cc b/chrome/browser/views/panel_controller.cc index c86aacd..171a8f0 100644 --- a/chrome/browser/views/panel_controller.cc +++ b/chrome/browser/views/panel_controller.cc @@ -13,6 +13,7 @@ extern "C" { #include "base/logging.h" #include "base/singleton.h" #include "base/scoped_ptr.h" +#include "base/string_util.h" #include "chrome/browser/browser.h" #include "chrome/browser/gtk/browser_window_gtk.h" #include "chrome/browser/views/tabs/tab_overview_types.h" @@ -95,7 +96,7 @@ PanelController::PanelController(BrowserWindowGtk* browser_window) void PanelController::UpdateTitleBar() { title_content_->title_label()->SetText( - browser_window_->browser()->GetCurrentPageTitle()); + UTF16ToWideHack(browser_window_->browser()->GetCurrentPageTitle())); } bool PanelController::TitleMousePressed(const views::MouseEvent& event) { -- cgit v1.1