Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Issue 2313593002: Content Renderer FrameSwapMessageQueue: Fix DidActivate with DidNotSwap. (Closed)

Created:
4 years, 3 months ago by loyso (OOO)
Modified:
4 years, 3 months ago
Reviewers:
enne (OOO), piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Content Renderer FrameSwapMessageQueue: Fix DidActivate with DidNotSwap. LayerTreeHostImpl::SwapBuffers may fail if frame.has_no_damage (SwapPromise::SWAP_FAILS). IF FrameSwapMessageQueue::DidActivate happens during that frame THEN the outputSurface will NOT take care of the Drain+Send. AND QueueMessageSwapPromise::DidNotSwap will not send the MESSAGE_DELIVERY_POLICY_WITH_VISUAL_STATE message back. As a result, the callback inserted with RenderFrameHostImpl::InsertVisualStateCallback never triggers. PluginPowerSaverBrowserTest::VerifySnapshot hangs forever. BUG=599484 Committed: https://crrev.com/260a8f74a7f1230c3252f2640ce7185981d8aef4 Cr-Commit-Position: refs/heads/master@{#417162}

Patch Set 1 #

Patch Set 2 : Reparent. #

Patch Set 3 : Fix QueueMessageSwapPromiseTest.VisualStateSwapPromiseDidActivate #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -3 lines) Patch
M content/renderer/gpu/frame_swap_message_queue.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/frame_swap_message_queue_unittest.cc View 1 chunk +17 lines, -0 lines 0 comments Download
M content/renderer/gpu/queue_message_swap_promise_unittest.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
loyso (OOO)
4 years, 3 months ago (2016-09-05 06:28:43 UTC) #11
enne (OOO)
I'm happy to review this if needed, but am going to defer to piman who ...
4 years, 3 months ago (2016-09-06 18:17:49 UTC) #21
loyso (OOO)
piman@, PTAL?
4 years, 3 months ago (2016-09-07 23:51:11 UTC) #22
piman
lgtm
4 years, 3 months ago (2016-09-08 00:52:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2313593002/40001
4 years, 3 months ago (2016-09-08 00:57:59 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-08 02:07:39 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 02:10:02 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/260a8f74a7f1230c3252f2640ce7185981d8aef4
Cr-Commit-Position: refs/heads/master@{#417162}

Powered by Google App Engine
This is Rietveld 408576698