 Chromium Code Reviews
 Chromium Code Reviews Issue 
            27200003:
    Trigger deadline immediately after an aborted main thread commit  (Closed)
    
  
    Issue 
            27200003:
    Trigger deadline immediately after an aborted main thread commit  (Closed) 
  | DescriptionTrigger deadline immediately after an aborted main thread commit
If the main thread aborts a commit, check if we should trigger the begin frame
deadline immediately. This fixes a problem where the first frame in response to
a scroll gesture is delayed to the next frame. The sequence of events is:
1. Impl thread receives ScrollBegin event.
2. Impl thread receives BeginFrame event.  3. Impl thread receives ScrollBy
   event. It applies the new scroll offset to the active tree and requests both
   a commit (to tell the main thread about the new scroll offset) and a draw.
3. Commit begins, but the main thread aborts it because only the scroll offset
   changed.
4. Impl thread is told about aborted commit, but instead of drawing the new
   frame it does nothing.
BUG=306958
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229115
   Patch Set 1 #
      Total comments: 1
      
     Patch Set 2 : Check for pending tree. Add test. #
      Total comments: 2
      
     Patch Set 3 : Fix early-out case. #Patch Set 4 : Trigger deadline in ProcessScheduledActions to cover more cases. #Patch Set 5 : Fix unit test DCHECK failure. #
 Messages
    Total messages: 12 (0 generated)
     | |||||||||||||||||||||||||||||||||||||