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

Issue 2696123002: WTF::Vector: Add comments to each member function. (Closed)

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

Description

WTF::Vector: Add comments to each member function. This patch adds lots of comments to the public member functions of Vector. Additionally, the order of the member functions is changed slightly, and some inlined implementation becomes out-of-line, both for readability. It still lacks class-level commentary, including the precise semantics of iterator invalidation or the explanation of inline capacity. This will be addressed later. BUG=690816 Review-Url: https://codereview.chromium.org/2696123002 Cr-Commit-Position: refs/heads/master@{#450669} Committed: https://chromium.googlesource.com/chromium/src/+/e6cfc1a979decf08475dcef3b095c8af9c8f2649

Patch Set 1 #

Total comments: 8

Patch Set 2 : Mention the use case of at(). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -144 lines) Patch
M third_party/WebKit/Source/wtf/Vector.h View 1 13 chunks +288 lines, -144 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Yuta Kitamura
tzik: PTAL? haraken: Just FYI.
3 years, 10 months ago (2017-02-15 06:51:37 UTC) #4
tzik
lgtm
3 years, 10 months ago (2017-02-15 07:30:18 UTC) #5
haraken
LGTM https://codereview.chromium.org/2696123002/diff/1/third_party/WebKit/Source/wtf/Vector.h File third_party/WebKit/Source/wtf/Vector.h (right): https://codereview.chromium.org/2696123002/diff/1/third_party/WebKit/Source/wtf/Vector.h#newcode886 third_party/WebKit/Source/wtf/Vector.h:886: // Add a comment and explain that we ...
3 years, 10 months ago (2017-02-15 07:31:41 UTC) #7
Yuta Kitamura
I just fixed the documentation of at(). See below for the others. https://codereview.chromium.org/2696123002/diff/1/third_party/WebKit/Source/wtf/Vector.h File third_party/WebKit/Source/wtf/Vector.h ...
3 years, 10 months ago (2017-02-15 10:01:39 UTC) #10
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/2696123002/20001
3 years, 10 months ago (2017-02-15 10:02:21 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 11:41:29 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/e6cfc1a979decf08475dcef3b095...

Powered by Google App Engine
This is Rietveld 408576698