diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-10 22:44:14 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-10 22:44:14 +0000 |
commit | 905075182a7867d5345284951980fb5ceb09bff7 (patch) | |
tree | 0d878075174736b92d0566e5e93350e6b1238e74 /chrome | |
parent | e041296f30fd16e3fd5c749bbc0975b1aae6a4d8 (diff) | |
download | chromium_src-905075182a7867d5345284951980fb5ceb09bff7.zip chromium_src-905075182a7867d5345284951980fb5ceb09bff7.tar.gz chromium_src-905075182a7867d5345284951980fb5ceb09bff7.tar.bz2 |
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
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/panel_controller.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |