DescriptionUse MessageLoop for CompositorTest.LocksTimeOut
Instead of TestSimpleTaskRunner, which DCHECKs when posting message
from worker thread, use MessageLoop and set a timeout that is
equivalent to CompositorLock's timemout.
BUG=473507
TEST=run w/ --ui-enable-impl-side-painting
Committed: https://crrev.com/4b4d89e3c7dd813d433f851166396bff25938b83
Cr-Commit-Position: refs/heads/master@{#325385}
Patch Set 1 #Patch Set 2 : use current message loop #Patch Set 3 : thread safe task runner #
Total comments: 10
Patch Set 4 : address review comments #
Total comments: 2
Patch Set 5 : addressed nit #Patch Set 6 : rebase #Patch Set 7 : use message loop and run loop #
Total comments: 1
Patch Set 8 : move constant to header #
Total comments: 3
Messages
Total messages: 20 (7 generated)
|