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

Issue 1807153002: WTF: Implement move semantics for values of {List,Linked}HashSet. (Closed)

Created:
4 years, 9 months ago by Yuta Kitamura
Modified:
4 years, 9 months ago
Reviewers:
*haraken, *tzik, Mikhail
CC:
chromium-reviews, blink-reviews, blink-reviews-wtf_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/src.git@ListHashSet-AddResult
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WTF: Implement move semantics for values of {List,Linked}HashSet. This is similar to two earlier patches that implemented move semantics in HashMap and HashSet: https://codereview.chromium.org/1764973002/ https://codereview.chromium.org/1798913002/ This patch is for ListHashSet and LinkedHashSet. The changes in this patch are mostly the same as the previous patches: taking an incoming value as a universal reference (T&&), and forwarding it as appropriate. BUG=567139, 582349 Committed: https://crrev.com/b1d3886202efe86f89e711a3b61ab250fadffbd2 Cr-Commit-Position: refs/heads/master@{#381918}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove ValuePassInType. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -53 lines) Patch
M third_party/WebKit/Source/wtf/LinkedHashSet.h View 5 chunks +30 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/wtf/ListHashSet.h View 1 8 chunks +36 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/wtf/ListHashSetTest.cpp View 1 chunk +129 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (13 generated)
Yuta Kitamura
PTAL
4 years, 9 months ago (2016-03-17 08:49:23 UTC) #4
Mikhail
https://codereview.chromium.org/1807153002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h File third_party/WebKit/Source/wtf/ListHashSet.h (left): https://codereview.chromium.org/1807153002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h#oldcode147 third_party/WebKit/Source/wtf/ListHashSet.h:147: AddResult add(ValuePassInType); if 'ValuePassInType' is not used any more, ...
4 years, 9 months ago (2016-03-17 09:17:48 UTC) #5
tzik
lgtm
4 years, 9 months ago (2016-03-17 09:29:10 UTC) #6
haraken
LGTM
4 years, 9 months ago (2016-03-17 09:30:59 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807153002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807153002/1
4 years, 9 months ago (2016-03-17 11:51:30 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-17 13:19:36 UTC) #11
Yuta Kitamura
https://codereview.chromium.org/1807153002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h File third_party/WebKit/Source/wtf/ListHashSet.h (left): https://codereview.chromium.org/1807153002/diff/1/third_party/WebKit/Source/wtf/ListHashSet.h#oldcode147 third_party/WebKit/Source/wtf/ListHashSet.h:147: AddResult add(ValuePassInType); On 2016/03/17 09:17:48, Mikhail wrote: > if ...
4 years, 9 months ago (2016-03-18 04:42:11 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807153002/20001
4 years, 9 months ago (2016-03-18 04:42:34 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/191020)
4 years, 9 months ago (2016-03-18 07:11:35 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807153002/20001
4 years, 9 months ago (2016-03-18 07:20:18 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 08:50:28 UTC) #20
Yuta Kitamura
Mikhail: I'm landing this now with the given approvals so far, but feel free to ...
4 years, 9 months ago (2016-03-18 09:18:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807153002/20001
4 years, 9 months ago (2016-03-18 09:19:05 UTC) #24
Mikhail
lgtm
4 years, 9 months ago (2016-03-18 09:23:07 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-18 09:24:10 UTC) #27
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 09:26:10 UTC) #29
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b1d3886202efe86f89e711a3b61ab250fadffbd2
Cr-Commit-Position: refs/heads/master@{#381918}

Powered by Google App Engine
This is Rietveld 408576698