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

Issue 1768103002: Use scoped_ptr instead of linked_ptr from /e/c/features/* (Closed)

Created:
4 years, 9 months ago by limasdf
Modified:
4 years, 9 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use scoped_ptr instead of linked_ptr from /e/c/features/* BUG=556939 TBR=rdevlin.cronin@chromium.org Committed: https://crrev.com/a7670dbc0a6b94e2c1c427f6a1ddae933bdb6f53 Cr-Commit-Position: refs/heads/master@{#379547}

Patch Set 1 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -31 lines) Patch
M extensions/common/features/base_feature_provider.h View 2 chunks +6 lines, -4 lines 0 comments Download
M extensions/common/features/base_feature_provider.cc View 7 chunks +11 lines, -14 lines 1 comment Download
M extensions/common/features/feature_provider.cc View 4 chunks +7 lines, -13 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
limasdf
TBRing... it's mechanical cleanup.
4 years, 9 months ago (2016-03-07 12:22:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1768103002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1768103002/20001
4 years, 9 months ago (2016-03-07 12:22:45 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 9 months ago (2016-03-07 13:24:47 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/a7670dbc0a6b94e2c1c427f6a1ddae933bdb6f53 Cr-Commit-Position: refs/heads/master@{#379547}
4 years, 9 months ago (2016-03-07 13:26:24 UTC) #12
Devlin
retroactive lgtm with one nit. Also, please don't TBR changes without anyone reviewing them. TBRing ...
4 years, 9 months ago (2016-03-07 15:49:43 UTC) #13
limasdf
4 years, 9 months ago (2016-03-07 23:56:38 UTC) #14
Message was sent while issue was closed.
On 2016/03/07 15:49:43, Devlin wrote:
> retroactive lgtm with one nit.
> 
> Also, please don't TBR changes without anyone reviewing them.  TBRing
mechanical
> changes is fine once someone else has looked at the code, but any patch should
> have at least two pairs of eyes (you and one reviewer) see it before it lands.
> :)
> 
>
https://codereview.chromium.org/1768103002/diff/20001/extensions/common/featu...
> File extensions/common/features/base_feature_provider.cc (right):
> 
>
https://codereview.chromium.org/1768103002/diff/20001/extensions/common/featu...
> extensions/common/features/base_feature_provider.cc:189: const auto
first_child
> = features_.lower_bound(prefix);
> This conversion to auto is potentially harmful, because auto doesn't always
know
> if it's an iterator or a const_iterator.  We might be okay in this particular
> case because the const on the method might require a const_iterator here, but
> that's pretty flimsy (and if this was operating on a ptr member, it wouldn't
> work).  I'd prefer these to stay explicitly const_iterators.

Thanks for the review.

Above comment will be addressed in https://codereview.chromium.org/1772683002/

Powered by Google App Engine
This is Rietveld 408576698