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

Issue 1099703004: cc: Make SingleThreadProxy::CompositeImmediately match scheduler path. (Closed)

Created:
5 years, 8 months ago by mithro-old
Modified:
5 years, 7 months ago
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: Make SingleThreadProxy::CompositeImmediately match scheduler path. Only send the BeginMainFrame inside a BeginImplFrame period. As this path is used without the scheduler it was missed in https://codereview.chromium.org/798323003/ BUG=346230 Committed: https://crrev.com/c76d7031e5f07c2c68ec2b76c9d898ed72cab28f Cr-Commit-Position: refs/heads/master@{#328220}

Patch Set 1 #

Patch Set 2 : Only reset in DidBeginImplFrameDeadline method. #

Patch Set 3 : Adding DCHECKs around impl frame usage. #

Patch Set 4 : [DONT REVIEW] - Upload with deps for try bot running. #

Total comments: 8

Patch Set 5 : Fixing review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -10 lines) Patch
M cc/trees/single_thread_proxy.cc View 1 2 3 4 5 chunks +17 lines, -10 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
mithro-old
Hi, Just a very small patch for an issue I discovered while trying to land ...
5 years, 8 months ago (2015-04-24 04:23:11 UTC) #2
mithro-old
On 2015/04/24 04:23:11, mithro wrote: > Hi, > > Just a very small patch for ...
5 years, 8 months ago (2015-04-24 04:40:33 UTC) #3
enne (OOO)
Is there something that would fail or assert without this change? Could you make a ...
5 years, 8 months ago (2015-04-24 06:26:28 UTC) #4
mithro-old
On 2015/04/24 06:26:28, enne wrote: > Is there something that would fail or assert without ...
5 years, 8 months ago (2015-04-24 06:51:50 UTC) #5
enne (OOO)
Could you add a class that derives from LayerTreeTest that overrides WillBeginImplFrame and Will/DidBeginMainFrame and ...
5 years, 8 months ago (2015-04-24 15:58:05 UTC) #6
enne (OOO)
I'm thinking of something like https://code.google.com/p/chromium/codesearch#chromium/src/cc/trees/layer_tree_host_unittest.cc&l=2752.
5 years, 7 months ago (2015-04-28 22:30:55 UTC) #7
sunnyps
Looks good overall. Left a few comments. About testing this: I found that this is ...
5 years, 7 months ago (2015-05-01 00:46:38 UTC) #9
mithro-old
On 2015/05/01 00:46:38, sunnyps wrote: > Looks good overall. Left a few comments. > > ...
5 years, 7 months ago (2015-05-01 03:08:55 UTC) #10
sunnyps
LGTM if you add a test like enne said.
5 years, 7 months ago (2015-05-01 20:28:14 UTC) #11
mithro-old
On 2015/05/01 20:28:14, sunnyps wrote: > LGTM if you add a test like enne said. ...
5 years, 7 months ago (2015-05-04 03:19:38 UTC) #12
DaleCurtis
If the concern is a lack of tests rather than having a specific test, the ...
5 years, 7 months ago (2015-05-04 19:02:55 UTC) #13
enne (OOO)
I looked at the other changes and I agree that they would probably fail, but ...
5 years, 7 months ago (2015-05-04 20:15:43 UTC) #14
DaleCurtis
Definitely agree. In the further interest of time, I've put together here, if it looks ...
5 years, 7 months ago (2015-05-04 22:26:15 UTC) #16
enne (OOO)
lgtm
5 years, 7 months ago (2015-05-04 22:28:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1099703004/80001
5 years, 7 months ago (2015-05-04 22:29:51 UTC) #19
sunnyps
I've CQ'd this patch. I don't think the test you put together is what I ...
5 years, 7 months ago (2015-05-04 22:31:32 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-04 23:51:23 UTC) #21
commit-bot: I haz the power
5 years, 7 months ago (2015-05-04 23:52:19 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c76d7031e5f07c2c68ec2b76c9d898ed72cab28f
Cr-Commit-Position: refs/heads/master@{#328220}

Powered by Google App Engine
This is Rietveld 408576698