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

Issue 2583343003: [views] Changes iteration over |children_| to use range-based for loops (Closed)

Created:
4 years ago by varkha
Modified:
4 years ago
CC:
chromium-reviews, tfarina, Ben Goodger (Google)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[views] Changes iteration over |children_| to use range-based for loops BUG=NONE TEST=covered by existing tests Committed: https://crrev.com/ebc65542d481179168a67b83a3151da26daaaa54 Cr-Commit-Position: refs/heads/master@{#439909}

Patch Set 1 #

Total comments: 10

Patch Set 2 : [views] Changes iteration over |children_| to use range-based for loops (nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -41 lines) Patch
M ui/views/view.cc View 1 17 chunks +40 lines, -41 lines 0 comments Download

Messages

Total messages: 25 (15 generated)
varkha
sadrul, sky@ thought it would be good to use range-based for loops (see [1]) so ...
4 years ago (2016-12-19 20:55:11 UTC) #4
sadrul
Change all of the 'auto child' to 'auto* child' to make it obvious that child ...
4 years ago (2016-12-20 17:35:25 UTC) #7
varkha
Thanks sadrul@! +ben@ for reasoning of the reverse iteration order in: - PropagateThemeChanged - PropagateLocaleChanged ...
4 years ago (2016-12-20 18:48:48 UTC) #8
Ben Goodger (Google)
lgtm
4 years ago (2016-12-20 19:01:01 UTC) #12
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/2583343003/20001
4 years ago (2016-12-20 21:55:39 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 23:06:16 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ebc65542d481179168a67b83a3151da26daaaa54 Cr-Commit-Position: refs/heads/master@{#439909}
4 years ago (2016-12-20 23:10:15 UTC) #22
shimazu
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2594533003/ by shimazu@chromium.org. ...
4 years ago (2016-12-21 04:01:54 UTC) #23
varkha
On 2016/12/21 04:01:54, shimazu wrote: > A revert of this CL (patchset #2 id:20001) has ...
4 years ago (2016-12-21 17:50:53 UTC) #24
varkha
4 years ago (2016-12-21 20:46:29 UTC) #25
Message was sent while issue was closed.
Update - this is succeeded with
Change to avoid the troublesome scenario -
https://codereview.chromium.org/2597733002
Re-landing this CL - https://codereview.chromium.org/2591323002/

Powered by Google App Engine
This is Rietveld 408576698