Index: ui/views/widget/widget.cc |
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc |
index 51c4fe0b9fd905494e60387c3432417209c3babc..73e1cf0692bb5314d2b5608833645e45e4373297 100644 |
--- a/ui/views/widget/widget.cc |
+++ b/ui/views/widget/widget.cc |
@@ -735,8 +735,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. |