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

Issue 2035543003: cc: Fix for synced property main thread updates with MFBA. (Closed)

Created:
4 years, 6 months ago by sunnyps
Modified:
4 years, 6 months ago
Reviewers:
aelias_OOO_until_Jul13, enne (OOO), Emma.Tierney.Louise
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Fix for synced property main thread updates with MFBA. Main thread before activation allows sending BeginMainFrames while there is a pending tree. In this mode pulling deltas from SyncedProperty for BeginMainFrame should not be incorrect in between commit and activation of a previous frame. BUG=616086 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/d2580f5c4fd242f3b0bfe03fbad71e4db5b5fa08 Cr-Commit-Position: refs/heads/master@{#399079}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : test #

Total comments: 3

Patch Set 5 : aborted commit #

Patch Set 6 : rebase #

Total comments: 4

Patch Set 7 : logging-- #

Total comments: 2

Patch Set 8 : aelias review #

Total comments: 2

Patch Set 9 : enne's review #

Patch Set 10 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+384 lines, -26 lines) Patch
M cc/base/synced_property.h View 1 2 3 4 5 6 7 8 9 3 chunks +29 lines, -26 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 2 3 4 5 6 7 8 1 chunk +355 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (11 generated)
sunnyps
PTAL I've verified that the test fails without my CL.
4 years, 6 months ago (2016-06-07 00:29:24 UTC) #2
enne (OOO)
I need to digest this a little bit more, but I would feel more confident ...
4 years, 6 months ago (2016-06-07 20:42:54 UTC) #4
aelias_OOO_until_Jul13
https://codereview.chromium.org/2035543003/diff/60001/cc/base/synced_property.h File cc/base/synced_property.h (right): https://codereview.chromium.org/2035543003/diff/60001/cc/base/synced_property.h#newcode111 cc/base/synced_property.h:111: T PendingDelta() const { It's really confusing that this ...
4 years, 6 months ago (2016-06-07 23:52:26 UTC) #5
sunnyps
I think I have the aborted commit test almost nailed down. I had a question ...
4 years, 6 months ago (2016-06-08 20:32:13 UTC) #6
enne (OOO)
I'm not 100% sure what to do about the aborted commit. An aborted commit usually ...
4 years, 6 months ago (2016-06-08 21:15:36 UTC) #7
sunnyps
Added a test for aborted commits + MFBA with two aborted commits in succession. Also ...
4 years, 6 months ago (2016-06-08 23:00:47 UTC) #8
aelias_OOO_until_Jul13
OK thanks, approach looks good. The rename made it much clearer to me what the ...
4 years, 6 months ago (2016-06-09 00:46:13 UTC) #9
enne (OOO)
https://codereview.chromium.org/2035543003/diff/120001/cc/trees/layer_tree_host_unittest_scroll.cc File cc/trees/layer_tree_host_unittest_scroll.cc (right): https://codereview.chromium.org/2035543003/diff/120001/cc/trees/layer_tree_host_unittest_scroll.cc#newcode1760 cc/trees/layer_tree_host_unittest_scroll.cc:1760: impl->BlockNotifyReadyToActivateForTesting(false); Is this racy? It seems like this means ...
4 years, 6 months ago (2016-06-09 00:57:44 UTC) #10
sunnyps
PTAL https://codereview.chromium.org/2035543003/diff/100001/cc/base/synced_property.h File cc/base/synced_property.h (right): https://codereview.chromium.org/2035543003/diff/100001/cc/base/synced_property.h#newcode128 cc/base/synced_property.h:128: T sent_delta_; On 2016/06/09 00:46:13, aelias wrote: > ...
4 years, 6 months ago (2016-06-09 01:08:57 UTC) #11
enne (OOO)
Hmm. There's already tests for aborting commits when activation is not pending. Thinking about it, ...
4 years, 6 months ago (2016-06-09 17:28:52 UTC) #12
sunnyps
On 2016/06/09 17:28:52, enne wrote: > Hmm. There's already tests for aborting commits when activation ...
4 years, 6 months ago (2016-06-09 19:37:29 UTC) #13
enne (OOO)
lgtm, thanks!
4 years, 6 months ago (2016-06-09 20:57:32 UTC) #14
sunnyps
Thanks! aelias@ Could you also take a final look at this please?
4 years, 6 months ago (2016-06-09 21:04:30 UTC) #15
aelias_OOO_until_Jul13
lgtm, thanks! https://codereview.chromium.org/2035543003/diff/140001/cc/base/synced_property.h File cc/base/synced_property.h (right): https://codereview.chromium.org/2035543003/diff/140001/cc/base/synced_property.h#newcode128 cc/base/synced_property.h:128: // pending tree. This is always identity ...
4 years, 6 months ago (2016-06-09 22:40:46 UTC) #16
sunnyps
Thanks! https://codereview.chromium.org/2035543003/diff/140001/cc/base/synced_property.h File cc/base/synced_property.h (right): https://codereview.chromium.org/2035543003/diff/140001/cc/base/synced_property.h#newcode128 cc/base/synced_property.h:128: // pending tree. This is always identity outside ...
4 years, 6 months ago (2016-06-09 23:52:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035543003/180001
4 years, 6 months ago (2016-06-09 23:53:13 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_gn_rel on ...
4 years, 6 months ago (2016-06-10 01:54:46 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2035543003/180001
4 years, 6 months ago (2016-06-10 01:56:33 UTC) #26
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 6 months ago (2016-06-10 03:36:27 UTC) #28
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 03:36:29 UTC) #29
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/d2580f5c4fd242f3b0bfe03fbad71e4db5b5fa08 Cr-Commit-Position: refs/heads/master@{#399079}
4 years, 6 months ago (2016-06-10 03:38:50 UTC) #31
Emma.Tierney.Louise_gmail.com
4 years, 6 months ago (2016-06-22 20:33:04 UTC) #33
Message was sent while issue was closed.
hi

Powered by Google App Engine
This is Rietveld 408576698