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

Issue 2029813002: cc::SharedQuadState: drop CopyFrom and add copy constructor (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 6 months ago
Reviewers:
danakj, Tom Sepez
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc::SharedQuadState: drop CopyFrom and add copy constructor In order to make cc::SharedQuadState mojo::Array / std::vector friendly this CL gives it a copy constructor. This CL also drops CopyFrom because it's redundant. BUG=611802 TBR=tsepez@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/95998766b1ea36f05a974744e570850bf7b8432b Cr-Commit-Position: refs/heads/master@{#397364}

Patch Set 1 #

Patch Set 2 : Fixed unit test #

Total comments: 2

Patch Set 3 : Use = default in cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -16 lines) Patch
M cc/ipc/cc_param_traits_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M cc/quads/draw_quad_perftest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/draw_quad_unittest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M cc/quads/render_pass.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/quads/shared_quad_state.h View 1 chunk +1 line, -2 lines 0 comments Download
M cc/quads/shared_quad_state.cc View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/render_pass_test_utils.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (18 generated)
Fady Samuel
PTAL Dana This is what we just talked about as a pre-requisite for serializing cc::SharedQuadState ...
4 years, 6 months ago (2016-06-01 22:05:44 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029813002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029813002/20001
4 years, 6 months ago (2016-06-01 22:13:26 UTC) #5
danakj
https://codereview.chromium.org/2029813002/diff/20001/cc/quads/shared_quad_state.cc File cc/quads/shared_quad_state.cc (right): https://codereview.chromium.org/2029813002/diff/20001/cc/quads/shared_quad_state.cc#newcode22 cc/quads/shared_quad_state.cc:22: SharedQuadState::SharedQuadState(const SharedQuadState& other) use = default
4 years, 6 months ago (2016-06-01 22:37:46 UTC) #6
Fady Samuel
PTAL https://codereview.chromium.org/2029813002/diff/20001/cc/quads/shared_quad_state.cc File cc/quads/shared_quad_state.cc (right): https://codereview.chromium.org/2029813002/diff/20001/cc/quads/shared_quad_state.cc#newcode22 cc/quads/shared_quad_state.cc:22: SharedQuadState::SharedQuadState(const SharedQuadState& other) On 2016/06/01 22:37:46, danakj wrote: ...
4 years, 6 months ago (2016-06-01 22:44:13 UTC) #7
danakj
LGTM
4 years, 6 months ago (2016-06-01 22:45:07 UTC) #8
Fady Samuel
+tsepez@ for ipc (I'm TBRing since it's a trivial transformation of a test).
4 years, 6 months ago (2016-06-01 22:47:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029813002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029813002/40001
4 years, 6 months ago (2016-06-01 22:48:06 UTC) #15
Tom Sepez
lgtm
4 years, 6 months ago (2016-06-01 22:50:33 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239112)
4 years, 6 months ago (2016-06-02 00:38:10 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029813002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029813002/40001
4 years, 6 months ago (2016-06-02 00:40:17 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239439)
4 years, 6 months ago (2016-06-02 02:32:56 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029813002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029813002/40001
4 years, 6 months ago (2016-06-02 02:42:07 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239492)
4 years, 6 months ago (2016-06-02 03:27:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029813002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029813002/40001
4 years, 6 months ago (2016-06-02 03:27:46 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239571)
4 years, 6 months ago (2016-06-02 04:16:36 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029813002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029813002/40001
4 years, 6 months ago (2016-06-02 10:41:25 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-02 11:22:35 UTC) #34
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 11:23:39 UTC) #36
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/95998766b1ea36f05a974744e570850bf7b8432b
Cr-Commit-Position: refs/heads/master@{#397364}

Powered by Google App Engine
This is Rietveld 408576698