Revert "ContentCapture: re-stream onscreen content when the frame show again"
This reverts commit dbe0ea06. Reason for revert: New test fails on the following bots: https://ci.chromium.org/p/chromium/builders/ci/Lollipop%20Phone%20Tester https://ci.chromium.org/p/chromium/builders/ci/Marshmallow%20Tablet%20Tester https://ci.chromium.org/p/chromium/builders/ci/Android%20WebView%20N%20%28dbg%29 Original change's description: > ContentCapture: re-stream onscreen content when the frame show again > > Previously ContentCaptureConsumer had no way to know the the frame > shows again because the visible content didn't change. > > This patch resets the task session when the frame was hidden, so > ContentCapture task will stream on-screen content because they > aren't streamed from the task point of view when the frame was > shown. > > Adds the test to coverage this scenario. > > Bug: 1137463 > Change-Id: I0065ce080101d2149622b0f9f6a3aa196c18d717 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2511030 > Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> > Commit-Queue: Michael Bai <michaelbai@chromium.org> > Cr-Commit-Position: refs/heads/master@{#823251} TBR=michaelbai@chromium.org,wangxianzhu@chromium.org Change-Id: I219bd94c5dfc36b073590d6e604ce951aef3c966 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1137463 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518401Reviewed-by:Tommy Nyquist <nyquist@chromium.org> Commit-Queue: Tommy Nyquist <nyquist@chromium.org> Cr-Commit-Position: refs/heads/master@{#823660}
Showing
Please register or sign in to comment