Restrict the number of cases where we force the compositor to do a synchronous paint...
commitb8729366a6d05e96f6283b077e500b1d882abfe7
authorananta <ananta@chromium.org>
Wed, 3 Sep 2014 23:44:42 +0000 (3 16:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Sep 2014 23:51:11 +0000 (3 23:51 +0000)
tree04b649d9ee3e0f27943317313dbd763807487875
parent29b711e2bf98d6cf1ce99541f3d47bda33acb32f
Restrict the number of cases where we force the compositor to do a synchronous paint to resizing and restore/maximize operations.

Forcing the compositor to do a synchronous paint in window size changed notifications sends over
a synchronous IPC to the GPU process which blocks the UI thread. We have been seeing cases where
Chrome seems to freeze while performing operations like typing in the omnibox, etc.

BUG=397633
R=sky,cpu

Review URL: https://codereview.chromium.org/528173002

Cr-Commit-Position: refs/heads/master@{#293223}
ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
ui/views/widget/desktop_aura/desktop_window_tree_host_win.h