cc: Stop testing occlusion by making awkward queries.
We used to test the state of the occlusion tracker by making queries for various input rects to try and guess what its occlusion state must be. This is bad. Instead, we can query the state directly. This removes all state queries from tests that are verifying the occlusion tracker's internal state changes correctly. And adds some new tests that just set internal state and verify the query methods work correctly. R=enne Review URL: https://codereview.chromium.org/497493004 Cr-Commit-Position: refs/heads/master@{#291608}
Showing
This diff is collapsed.
Please register or sign in to comment