diff options
author | brettw <brettw@chromium.org> | 2014-09-27 15:27:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-27 22:27:30 +0000 |
commit | a09df11aa1c5f416df4fb97f2303d9c1ff76b150 (patch) | |
tree | 6c1209f791c655b8b68fc8f91e8e8e42c3650546 /printing/page_range.cc | |
parent | f446a070a0aa29a153b0cf78b33ef22da84cb023 (diff) | |
download | chromium_src-a09df11aa1c5f416df4fb97f2303d9c1ff76b150.zip chromium_src-a09df11aa1c5f416df4fb97f2303d9c1ff76b150.tar.gz chromium_src-a09df11aa1c5f416df4fb97f2303d9c1ff76b150.tar.bz2 |
Convert GN's deps iterator to work with range-based for loops.
Reworks DepsIterator so it is compatible with STL iterators enough to work with range-based for loops. The iterator is now created by a target rather than taking a target as an argument, which makes the loops more natural.
I also changed some loops around code I was touching to use range-based.
Review URL: https://codereview.chromium.org/610043002
Cr-Commit-Position: refs/heads/master@{#297122}
Diffstat (limited to 'printing/page_range.cc')
0 files changed, 0 insertions, 0 deletions