| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| index 1ecd9962e7901ac5290c861b11afa46c719d50ae..402a94ee3f43df7506400094a72cb0a5e3a1bf65 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
|
| @@ -864,7 +864,9 @@ bool DesktopWindowTreeHostWin::HandlePaintAccelerated(
|
| }
|
|
|
| void DesktopWindowTreeHostWin::HandlePaint(gfx::Canvas* canvas) {
|
| - compositor()->ScheduleRedrawRect(gfx::Rect());
|
| + // It appears possible to get WM_PAINT after WM_DESTROY.
|
| + if (compositor())
|
| + compositor()->ScheduleRedrawRect(gfx::Rect());
|
| }
|
|
|
| bool DesktopWindowTreeHostWin::HandleTooltipNotify(int w_param,
|
|
|