diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 18:21:03 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 18:21:03 +0000 |
commit | e9c7f0553447bb4127a5f3231b035ce8db6e7e08 (patch) | |
tree | 4bf780ebf13486289d72abbdb87a28c6e9c65a5b /remoting | |
parent | 92e867b810c1231a8c941456abb43c4e107fd149 (diff) | |
download | chromium_src-e9c7f0553447bb4127a5f3231b035ce8db6e7e08.zip chromium_src-e9c7f0553447bb4127a5f3231b035ce8db6e7e08.tar.gz chromium_src-e9c7f0553447bb4127a5f3231b035ce8db6e7e08.tar.bz2 |
cc: Fix flaky LayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit
Single thread and threaded mode pass back the requirement to commit
after changing memory policy differently, which makes this test
flaky if it wants to test both.
We want to post the commit/invalidate once the first frame has been
drawn, so use DidCommitAndDrawFrame() on the main thread.
Because the impl thread posts a SetNeedsCommit, it can get three updates
instead of two, so handle that in the test and ignore the followup if
it occurs.
R=jamesr@chromium.org
BUG=260114
Review URL: https://codereview.chromium.org/19389002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
0 files changed, 0 insertions, 0 deletions