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

Issue 2739813003: Allow WTF::Vector::emplace_back accept one or zero arguments (Closed)

Created:
3 years, 9 months ago by Mikhail
Modified:
3 years, 9 months ago
Reviewers:
haraken, Yuta Kitamura
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, pdr.
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow WTF::Vector::emplace_back accept one or zero arguments std::vector has no such limitations, so let's drop them either. Vector unit test is updated accordingly. BUG=698998 Review-Url: https://codereview.chromium.org/2739813003 Cr-Commit-Position: refs/heads/master@{#456045} Committed: https://chromium.googlesource.com/chromium/src/+/3e1c8c2a1cde9d01f965ce41f71e7ca959740fae

Patch Set 1 #

Patch Set 2 : Added emplace_back() overload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -4 lines) Patch
M third_party/WebKit/Source/wtf/Vector.h View 1 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/wtf/VectorTest.cpp View 1 2 chunks +18 lines, -1 line 0 comments Download

Messages

Total messages: 24 (16 generated)
Mikhail
PTAL
3 years, 9 months ago (2017-03-08 10:34:19 UTC) #7
Yuta Kitamura
+pilgrim I'm not sure if we want to this... pilgrim, WDYT? At least, if the ...
3 years, 9 months ago (2017-03-09 11:07:03 UTC) #9
Mikhail
On 2017/03/09 11:07:03, Yuta Kitamura wrote: > +pilgrim > > I'm not sure if we ...
3 years, 9 months ago (2017-03-09 11:14:19 UTC) #10
pilgrim_google
On 2017/03/09 at 11:07:03, yutak wrote: > +pilgrim > > I'm not sure if we ...
3 years, 9 months ago (2017-03-09 14:12:27 UTC) #11
Yuta Kitamura
CL-wise, this LGTM if grow(1) case is addressed. Defer the final decision to haraken@.
3 years, 9 months ago (2017-03-10 08:11:49 UTC) #13
haraken
On 2017/03/10 08:11:49, Yuta Kitamura wrote: > CL-wise, this LGTM if grow(1) case is addressed. ...
3 years, 9 months ago (2017-03-10 08:58:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2739813003/20001
3 years, 9 months ago (2017-03-10 12:18:21 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 12:22:41 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3e1c8c2a1cde9d01f965ce41f71e...

Powered by Google App Engine
This is Rietveld 408576698