Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: chrome/browser/views/panel_controller.cc

Issue 149484: Fixed compile breakage resulting from wstring to string16 change.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/panel_controller.cc
===================================================================
--- chrome/browser/views/panel_controller.cc (revision 20414)
+++ chrome/browser/views/panel_controller.cc (working copy)
@@ -13,6 +13,7 @@
#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 @@
void PanelController::UpdateTitleBar() {
title_content_->title_label()->SetText(
- browser_window_->browser()->GetCurrentPageTitle());
+ UTF16ToWideHack(browser_window_->browser()->GetCurrentPageTitle()));
}
bool PanelController::TitleMousePressed(const views::MouseEvent& event) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698