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

Unified Diff: ui/views/widget/native_widget_win.cc

Issue 99553008: Fix regression where the active window header was not used for apps on CrOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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
Index: ui/views/widget/native_widget_win.cc
diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
index 18109169986a7b76b572f622e3428366d4ac8011..0e818a9dfdaecb7916871d22d3aa4abceb510952 100644
--- a/ui/views/widget/native_widget_win.cc
+++ b/ui/views/widget/native_widget_win.cc
@@ -625,7 +625,7 @@ void NativeWidgetWin::HandleAppDeactivated() {
// TODO(pkotwicz): Remove need for SchedulePaint(). crbug.com/165841
View* non_client_view = GetWidget()->non_client_view();
if (non_client_view)
- non_client_view->SchedulePaint();
+ non_client_view->frame_view()->SchedulePaint();
}
}

Powered by Google App Engine
This is Rietveld 408576698