| Index: ui/views/widget/widget.cc
|
| diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
|
| index a4d85a95b4ce2b2a5b356bfd9faf12e7f9604b0d..0083e25c74954c07f9a9529a3c5e85f4718a695f 100644
|
| --- a/ui/views/widget/widget.cc
|
| +++ b/ui/views/widget/widget.cc
|
| @@ -737,8 +737,9 @@ void Widget::UpdateWindowTitle() {
|
| return;
|
|
|
| // If the non-client view is rendering its own title, it'll need to relayout
|
| - // now.
|
| + // now and to get a paint update later on.
|
| non_client_view_->Layout();
|
| + non_client_view_->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.
|
|
|