Index: ui/aura/remote_window_tree_host_win.cc |
diff --git a/ui/aura/remote_window_tree_host_win.cc b/ui/aura/remote_window_tree_host_win.cc |
index 06c0aeed87a209884dd0bb4af7faa8d2cd7903de..14c9bf6fe6cfa77813edeb5ba1900e1fbdf25077 100644 |
--- a/ui/aura/remote_window_tree_host_win.cc |
+++ b/ui/aura/remote_window_tree_host_win.cc |
@@ -377,8 +377,10 @@ void RemoteWindowTreeHostWin::OnChar(uint32 key_code, |
scan_code, flags, true); |
} |
-void RemoteWindowTreeHostWin::OnWindowActivated() { |
+void RemoteWindowTreeHostWin::OnWindowActivated(bool repaint) { |
OnHostActivated(); |
+ if (repaint && compositor()) |
+ compositor()->ScheduleFullRedraw(); |
} |
void RemoteWindowTreeHostWin::OnEdgeGesture() { |