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

Issue 1901223003: base: Remove a copy of and copy ctor from SequenceAndSortKey. (Closed)

Created:
4 years, 8 months ago by vmpstr
Modified:
4 years, 8 months ago
Reviewers:
danakj, robliao, gab, fdoray
CC:
chromium-reviews, gab+watch_chromium.org, robliao+watch_chromium.org, fdoray+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

base: Remove a copy of and copy ctor from SequenceAndSortKey. This patch removes a copy of SequenceAndSortKey. As a result, the copy ctor is no longer needed (there won't be an implicit one generated). R=danakj, gab Committed: https://crrev.com/fc05fd34560e44a262d55be0ff84771eaa76c4f5 Cr-Commit-Position: refs/heads/master@{#388340}

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -8 lines) Patch
M base/task_scheduler/priority_queue.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M base/task_scheduler/priority_queue.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M base/task_scheduler/scheduler_thread_pool.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
vmpstr
Please take a look.
4 years, 8 months ago (2016-04-19 20:10:53 UTC) #1
danakj
https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/priority_queue.h File base/task_scheduler/priority_queue.h (left): https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/priority_queue.h#oldcode36 base/task_scheduler/priority_queue.h:36: SequenceAndSortKey(const SequenceAndSortKey& other); DISALLOW_COPY_AND_ASSIGN then?
4 years, 8 months ago (2016-04-19 20:11:54 UTC) #2
fdoray
https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/priority_queue.h File base/task_scheduler/priority_queue.h (left): https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/priority_queue.h#oldcode44 base/task_scheduler/priority_queue.h:44: const SequenceSortKey sort_key; Add: private: DISALLOW_COPY_AND_ASSIGN(SequenceAndSortKey); https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/scheduler_thread_pool.cc File base/task_scheduler/scheduler_thread_pool.cc ...
4 years, 8 months ago (2016-04-19 20:14:14 UTC) #4
vmpstr
https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/priority_queue.h File base/task_scheduler/priority_queue.h (left): https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/priority_queue.h#oldcode36 base/task_scheduler/priority_queue.h:36: SequenceAndSortKey(const SequenceAndSortKey& other); On 2016/04/19 20:11:54, danakj wrote: > ...
4 years, 8 months ago (2016-04-19 20:14:17 UTC) #5
vmpstr
PTAL https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/scheduler_thread_pool.cc File base/task_scheduler/scheduler_thread_pool.cc (right): https://codereview.chromium.org/1901223003/diff/1/base/task_scheduler/scheduler_thread_pool.cc#newcode261 base/task_scheduler/scheduler_thread_pool.cc:261: return sequence_and_sort_key.sequence; On 2016/04/19 20:14:13, fdoray wrote: > ...
4 years, 8 months ago (2016-04-19 20:19:29 UTC) #6
fdoray
lgtm
4 years, 8 months ago (2016-04-19 20:22:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901223003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901223003/40001
4 years, 8 months ago (2016-04-19 20:23:45 UTC) #9
danakj
LGTM 2
4 years, 8 months ago (2016-04-19 20:24:35 UTC) #10
robliao
lgtm
4 years, 8 months ago (2016-04-19 20:38:29 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/56521)
4 years, 8 months ago (2016-04-19 21:19:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901223003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901223003/40001
4 years, 8 months ago (2016-04-19 21:22:05 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-19 22:51:27 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:17:30 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fc05fd34560e44a262d55be0ff84771eaa76c4f5
Cr-Commit-Position: refs/heads/master@{#388340}

Powered by Google App Engine
This is Rietveld 408576698