Run Pepper 2D flush ack code on ViewInitiatedPaint.
commitf291de7eecd98906f061afac01c5a474d48a9ac5
authorjbauman <jbauman@chromium.org>
Fri, 5 Dec 2014 01:47:04 +0000 (4 17:47 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Dec 2014 01:47:38 +0000 (5 01:47 +0000)
tree277e136f9ddc0ab13c4156e595f19e2f0c2c6b56
parent72139934d7972eac448119e25774e6fff9942925
Run Pepper 2D flush ack code on ViewInitiatedPaint.

The Pepper 2D flush ack was originally executed on ViewFlushedPaint (UpdateRect ack) both to throttle it and so that it was certain that the TransportDIB that was shared to the browser was not in use anymore. It makes sense to move the flush ack to ViewInitiatedPaint (compositor commit completed) because that's consistent with pepper 3d, handles throttling at least as well, and it's not sharing TransportDIBs with the browser anymore so that doesn't matter.

BUG=438646

Review URL: https://codereview.chromium.org/784443002

Cr-Commit-Position: refs/heads/master@{#306953}
content/renderer/pepper/pepper_graphics_2d_host.cc