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

Issue 2457163002: WTF/std normalization: replace WTF::Vector::emplaceAppend with ::emplace_back (Closed)

Created:
4 years, 1 month ago by pilgrim_google
Modified:
4 years, 1 month ago
Reviewers:
haraken, tkent, esprehn
CC:
alex clarke (OOO till 29th), blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-wtf_chromium.org, chromium-reviews, fuzzing_chromium.org, jbroman+watch_chromium.org, Mikhail, ojan, Yuta Kitamura
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WTF/std normalization: replace WTF::Vector::emplaceAppend with ::emplace_back As discussed on platform-architecture-dev [0], there is interest in normalizing the methods of WTF classes to better align with std classes. This CL replaces emplaceAppend() with emplace_back(). There are no functional changes. [0] https://groups.google.com/a/chromium.org/d/topic/platform-architecture-dev/I7jnz4p1h84/discussion BUG=662431 Committed: https://crrev.com/8523015364743073bb38eb30bc389c2437904ba8 Cr-Commit-Position: refs/heads/master@{#432875}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 1

Patch Set 3 : rebase + return reference to emplaced element #

Messages

Total messages: 36 (17 generated)
pilgrim_google
4 years, 1 month ago (2016-11-03 17:32:23 UTC) #8
pilgrim_google
4 years, 1 month ago (2016-11-03 17:32:39 UTC) #9
pilgrim_google
4 years, 1 month ago (2016-11-03 17:32:55 UTC) #10
pilgrim_google
4 years, 1 month ago (2016-11-03 17:33:06 UTC) #11
esprehn
C++11 returns a reference to the new value from emplace_back(), should we be doing that ...
4 years, 1 month ago (2016-11-03 19:57:17 UTC) #12
haraken
Can we create a tracking bug for these efforts?
4 years, 1 month ago (2016-11-03 23:47:55 UTC) #15
tkent
Will this effort be affected by Blink naming rule conversion planed at the end of ...
4 years, 1 month ago (2016-11-03 23:53:37 UTC) #16
haraken
On 2016/11/03 23:53:37, tkent wrote: > Will this effort be affected by Blink naming rule ...
4 years, 1 month ago (2016-11-03 23:55:06 UTC) #17
esprehn
The rename has a black list for methods and properties in WTF otherwise ex. begin() ...
4 years, 1 month ago (2016-11-03 23:56:27 UTC) #18
esprehn
The rename has a black list for methods and properties in WTF otherwise ex. begin() ...
4 years, 1 month ago (2016-11-03 23:56:27 UTC) #19
pilgrim_google
On 2016/11/03 at 23:47:55, haraken wrote: > Can we create a tracking bug for these ...
4 years, 1 month ago (2016-11-04 16:15:08 UTC) #22
esprehn
https://codereview.chromium.org/2457163002/diff/20001/third_party/WebKit/Source/wtf/Vector.h File third_party/WebKit/Source/wtf/Vector.h (right): https://codereview.chromium.org/2457163002/diff/20001/third_party/WebKit/Source/wtf/Vector.h#newcode1399 third_party/WebKit/Source/wtf/Vector.h:1399: ALWAYS_INLINE void Vector<T, inlineCapacity, Allocator>::emplace_back( std emplace_back returns a ...
4 years, 1 month ago (2016-11-04 23:49:35 UTC) #23
pilgrim_google
On 2016/11/04 at 23:49:35, esprehn wrote: > https://codereview.chromium.org/2457163002/diff/20001/third_party/WebKit/Source/wtf/Vector.h > File third_party/WebKit/Source/wtf/Vector.h (right): > > https://codereview.chromium.org/2457163002/diff/20001/third_party/WebKit/Source/wtf/Vector.h#newcode1399 ...
4 years, 1 month ago (2016-11-15 21:52:44 UTC) #24
jsbell
On 2016/11/15 21:52:44, pilgrim_google wrote: > https://codereview.chromium.org/2457163002/diff/20001/third_party/WebKit/Source/wtf/Vector.h#newcode1399 > > third_party/WebKit/Source/wtf/Vector.h:1399: ALWAYS_INLINE void Vector<T, > inlineCapacity, ...
4 years, 1 month ago (2016-11-16 18:08:00 UTC) #25
pilgrim_google
On 2016/11/16 at 18:08:00, jsbell wrote: > On 2016/11/15 21:52:44, pilgrim_google wrote: > > > ...
4 years, 1 month ago (2016-11-16 19:51:17 UTC) #27
haraken
LGTM
4 years, 1 month ago (2016-11-17 04:50:51 UTC) #31
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/2457163002/40001
4 years, 1 month ago (2016-11-17 13:21:33 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-17 14:58:10 UTC) #34
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 15:01:16 UTC) #36
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8523015364743073bb38eb30bc389c2437904ba8
Cr-Commit-Position: refs/heads/master@{#432875}

Powered by Google App Engine
This is Rietveld 408576698