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

Issue 1998543003: WTF: Add support for std::initializer_list in HashSet. (Closed)

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

Description

WTF: Add support for std::initializer_list in HashSet. BUG=610931 Committed: https://crrev.com/55822436aa44ad3b61c59c502b427ecd2d7d00db Cr-Commit-Position: refs/heads/master@{#394736}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Reserve capacity; add tests for duplicated elements. #

Total comments: 2

Patch Set 3 : Simplify assignment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -0 lines) Patch
M third_party/WebKit/Source/wtf/HashSet.h View 1 2 3 chunks +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/HashSetTest.cpp View 1 1 chunk +54 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
Yuta Kitamura
PTAL
4 years, 7 months ago (2016-05-19 08:01:14 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998543003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998543003/1
4 years, 7 months ago (2016-05-19 08:01:31 UTC) #5
tzik
lgtm https://codereview.chromium.org/1998543003/diff/1/third_party/WebKit/Source/wtf/HashSet.h File third_party/WebKit/Source/wtf/HashSet.h (right): https://codereview.chromium.org/1998543003/diff/1/third_party/WebKit/Source/wtf/HashSet.h#newcode146 third_party/WebKit/Source/wtf/HashSet.h:146: { Can we reserveCapacity here?
4 years, 7 months ago (2016-05-19 08:59:57 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998543003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998543003/20001
4 years, 7 months ago (2016-05-19 09:03:40 UTC) #9
Yuta Kitamura
https://codereview.chromium.org/1998543003/diff/1/third_party/WebKit/Source/wtf/HashSet.h File third_party/WebKit/Source/wtf/HashSet.h (right): https://codereview.chromium.org/1998543003/diff/1/third_party/WebKit/Source/wtf/HashSet.h#newcode146 third_party/WebKit/Source/wtf/HashSet.h:146: { On 2016/05/19 08:59:57, tzik wrote: > Can we ...
4 years, 7 months ago (2016-05-19 09:04:21 UTC) #10
sof
https://codereview.chromium.org/1998543003/diff/20001/third_party/WebKit/Source/wtf/HashSet.h File third_party/WebKit/Source/wtf/HashSet.h (right): https://codereview.chromium.org/1998543003/diff/20001/third_party/WebKit/Source/wtf/HashSet.h#newcode156 third_party/WebKit/Source/wtf/HashSet.h:156: clear(); Would HashSet set(elements); *this = std::move(set); return *this; ...
4 years, 7 months ago (2016-05-19 09:21:26 UTC) #12
Yuta Kitamura
I'll pitch the updated version straight to CQ (based on tzik's approval), but please speak ...
4 years, 7 months ago (2016-05-19 09:41:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998543003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998543003/40001
4 years, 7 months ago (2016-05-19 09:43:24 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-19 11:16:57 UTC) #18
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 11:19:00 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/55822436aa44ad3b61c59c502b427ecd2d7d00db
Cr-Commit-Position: refs/heads/master@{#394736}

Powered by Google App Engine
This is Rietveld 408576698