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

Issue 2451953004: Fix mac raciness with initial needs begin frame state (Closed)

Created:
4 years, 1 month ago by enne (OOO)
Modified:
4 years, 1 month ago
Reviewers:
ccameron
CC:
chromium-reviews, darin-cc_chromium.org, jam, mac-reviews_chromium.org, nona+watch_chromium.org, shuchen+watch_chromium.org, James Su, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix mac raciness with initial needs begin frame state Because Mac doesn't delay begin frame messages (because it needs to receive them during resize), this creates some startup raciness. Fix this by just having the renderer host side assume that the renderer is going to want begin frames (even before hearing about it), so that if the SetNeedsBeginFrames(true) message is dropped it won't matter. Renderers when they start up send a SetNeedsBeginFrames(true) and then a SetNeedsBeginFrames(false) once they've finished loading and at that point the renderer and the host will be back in agreement about the state. BUG=657878 Committed: https://crrev.com/2051d912c9c52c61045908314d288a3ecca6c6c2 Cr-Commit-Position: refs/heads/master@{#427844}

Patch Set 1 #

Patch Set 2 : Fixes for ScrollWheelEndEventDelivery test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M content/browser/renderer_host/render_widget_host_view_mac.mm View 2 chunks +10 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac_unittest.mm View 1 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 18 (10 generated)
enne (OOO)
PTAL I think I can't remove the code in RenderMessageFilter, as it's still needed for ...
4 years, 1 month ago (2016-10-26 18:32:56 UTC) #3
ccameron
On 2016/10/26 18:32:56, enne wrote: > PTAL > > I think I can't remove the ...
4 years, 1 month ago (2016-10-26 18:42:39 UTC) #6
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/2451953004/1
4 years, 1 month ago (2016-10-26 18:52:54 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/322946)
4 years, 1 month ago (2016-10-26 20:05:31 UTC) #11
enne (OOO)
On 2016/10/26 at 20:05:31, commit-bot wrote: > Try jobs failed on following builders: > mac_chromium_rel_ng ...
4 years, 1 month ago (2016-10-26 20:55:32 UTC) #12
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/2451953004/20001
4 years, 1 month ago (2016-10-26 20:56:19 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-26 22:11:18 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 22:13:51 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2051d912c9c52c61045908314d288a3ecca6c6c2
Cr-Commit-Position: refs/heads/master@{#427844}

Powered by Google App Engine
This is Rietveld 408576698