• jdduke's avatar
    More aggressively yield when awaiting touchstart response · baa31e39
    jdduke authored
    Change the RendererScheduler's |ShouldYieldForHighPriorityWork| query
    to always return true if we are awaiting touchstart response, regardless
    of whether any high-priority work has been queued. This should facilitate
    more aggressive yielding immediately after touchstart, reducing the risk
    of long-running tasks interrupting dispatch of the subsequent touchmove.
    
    BUG=452956
    
    Review URL: https://codereview.chromium.org/933293004
    
    Cr-Commit-Position: refs/heads/master@{#317130}
    baa31e39
renderer_scheduler_impl.cc 16.9 KB