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

Issue 1971063004: cc: Fix cc_unittests when main frame before activation is enabled. (Closed)

Created:
4 years, 7 months ago by sunnyps
Modified:
4 years, 7 months ago
Reviewers:
ajuma, enne (OOO)
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 cc_unittests when main frame before activation is enabled. The LayerTreeHostAnimationTestScrollOffsetAnimationRemoval test would time out because impl side would keep animating indefinitely. If main frame before activation (MFBA) is enabled the test would keep running because it waits for main frames to stop before ending. A few scheduler state machine tests use the commit to active tree mode which is incompatible with MFBA. One other test had to be modified to remove unnecessary actions that would cause different behavior with MFBA. BUG=606210 R=enne@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/e85cf6b9adbf2f1ccfd6a9ea87c47cb186d549d6 Cr-Commit-Position: refs/heads/master@{#393962}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -44 lines) Patch
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 2 4 chunks +4 lines, -13 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 2 chunks +33 lines, -31 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (11 generated)
sunnyps
PTAL enne@ I removed a DCHECK from ProxyImpl because it doesn't hold when main_frame_before_activation_enabled is ...
4 years, 7 months ago (2016-05-12 22:58:19 UTC) #2
sunnyps
Actually nvm, turns out there was a bug in the scheduler that caused this so ...
4 years, 7 months ago (2016-05-13 00:21:24 UTC) #3
sunnyps
Actually nvm my previous comment, I was careless and didn't realize I wasn't testing with ...
4 years, 7 months ago (2016-05-13 00:33:44 UTC) #5
enne (OOO)
https://codereview.chromium.org/1971063004/diff/20001/cc/trees/layer_tree_host_unittest_animation.cc File cc/trees/layer_tree_host_unittest_animation.cc (right): https://codereview.chromium.org/1971063004/diff/20001/cc/trees/layer_tree_host_unittest_animation.cc#newcode920 cc/trees/layer_tree_host_unittest_animation.cc:920: if (scroll_delta.x() > 0.f || scroll_delta.y() > 0.f) This ...
4 years, 7 months ago (2016-05-13 01:26:02 UTC) #6
sunnyps
PTAL I made this CL fix all cc_unittests that break with main frame before activation. ...
4 years, 7 months ago (2016-05-14 00:41:19 UTC) #8
enne (OOO)
lgtm
4 years, 7 months ago (2016-05-16 17:10:40 UTC) #10
sunnyps
Thanks!
4 years, 7 months ago (2016-05-16 20:00:28 UTC) #14
commit-bot: I haz the power
This CL has an open dependency (Issue 1984453003 Patch 20001). Please resolve the dependency and ...
4 years, 7 months ago (2016-05-16 20:00:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1971063004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1971063004/60001
4 years, 7 months ago (2016-05-16 21:52:12 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-16 22:51:21 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-16 22:54:16 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e85cf6b9adbf2f1ccfd6a9ea87c47cb186d549d6
Cr-Commit-Position: refs/heads/master@{#393962}

Powered by Google App Engine
This is Rietveld 408576698