| Index: views/window/window_gtk.cc
|
| diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc
|
| index 3d7f7887e5a736acfd08f8164233768db20a8534..e05cce1873dee06db7c284f1184e19d8af5f46b0 100644
|
| --- a/views/window/window_gtk.cc
|
| +++ b/views/window/window_gtk.cc
|
| @@ -206,9 +206,7 @@ void WindowGtk::UpdateWindowTitle() {
|
| // Update the native frame's text. We do this regardless of whether or not
|
| // the native frame is being used, since this also updates the taskbar, etc.
|
| std::wstring window_title = window_delegate_->GetWindowTitle();
|
| - std::wstring localized_text;
|
| - if (base::i18n::AdjustStringForLocaleDirection(window_title, &localized_text))
|
| - window_title.assign(localized_text);
|
| + base::i18n::AdjustStringForLocaleDirection(&window_title);
|
|
|
| gtk_window_set_title(GetNativeWindow(), WideToUTF8(window_title).c_str());
|
| }
|
|
|