| Index: chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc
|
| diff --git a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc
|
| index f0566e65698a2da547373012178c48c81590bcfc..6e8e6c2d5db639f5dc4dafcb431808aeb306ac5c 100644
|
| --- a/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc
|
| +++ b/chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc
|
| @@ -147,11 +147,11 @@ gfx::NativeWindow NativeTabContentsViewGtk::GetTopLevelNativeWindow() const {
|
| return window ? GTK_WINDOW(window) : NULL;
|
| }
|
|
|
| -void NativeTabContentsViewGtk::SetPageTitle(const std::wstring& title) {
|
| +void NativeTabContentsViewGtk::SetPageTitle(const string16& title) {
|
| // Set the window name to include the page title so it's easier to spot
|
| // when debugging (e.g. via xwininfo -tree).
|
| if (GDK_IS_WINDOW(GetNativeView()->window))
|
| - gdk_window_set_title(GetNativeView()->window, WideToUTF8(title).c_str());
|
| + gdk_window_set_title(GetNativeView()->window, UTF16ToUTF8(title).c_str());
|
| }
|
|
|
| void NativeTabContentsViewGtk::StartDragging(const WebDropData& drop_data,
|
|
|