Fix flakey test: BasicSelectionIsolatedScrollMainframe on TSAN/Linux
This CL is a speculative fix for the observed flakiness of this test on TSAN linux. It seems that the old method of waiting for the scroll data to propagate back to the browser, namely using a UpdateResizeParamsMessageFilter to wait for the frame rects to change, is no longer sufficient to synchronize. It's also necessary to wait for the child-frame to draw its compositor frame so that the transform functions used in TouchSelectionControllerClientChildFrame's DidScroll() method will work properly (they rely on the compositor surfaces to reflect the scroll changes). Bug: 805017 Change-Id: I69ec3f318af8adb224d7fb54be1d00ec3c6caae8 Reviewed-on: https://chromium-review.googlesource.com/889864 Commit-Queue: Ken Buchanan <kenrb@chromium.org> Reviewed-by:Charlie Reis <creis@chromium.org> Reviewed-by:
Ken Buchanan <kenrb@chromium.org> Cr-Commit-Position: refs/heads/master@{#532661}
Showing
Please register or sign in to comment