DescriptionRemove CompositorObserver::OnCompositingEnded()
OnCompistingEnded() is only used in tests. By replacing usages of
OnCompositingEnded() with OnCompositingStarted(), we are able to remove
the call to OnCompositingEnded() in
ui::Compositor::DidReceiveCompositorFrameAck() without making the tests less
effective.
This is the first step in simplifying CompositorFrameAcks.
BUG=671202
Review-Url: https://codereview.chromium.org/2776973004
Cr-Commit-Position: refs/heads/master@{#460409}
Committed: https://chromium.googlesource.com/chromium/src/+/ce75f9388f73820bc5bb31401bcc75520f467a3f
Patch Set 1 #
Total comments: 2
Patch Set 2 : Addressed a comment #
Total comments: 1
Patch Set 3 : Move ++committed_frame_number_; to DidSubmitCompositorFrame() #
Total comments: 3
Patch Set 4 : Revert last patch and fix Mac compiling error #
Total comments: 2
Patch Set 5 : Rename commited_frame_number_ to activated_frame_count_ and move increments back to DidReceiveCompo… #Messages
Total messages: 40 (21 generated)
|