|
|
Chromium Code Reviews|
Created:
4 years, 9 months ago by Ian Vollick Modified:
4 years, 9 months ago CC:
chromium-reviews, cc-bugs_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionAdd LayerTreeImpl end/begin/rend/rbegin
This also allows for some pretty cute ways to iterate. See some
examples in the unit test.
BUG=None
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/7ee64947b2b915e2014b88238ab8f810ded79a11
Cr-Commit-Position: refs/heads/master@{#378967}
Patch Set 1 #
Total comments: 11
Patch Set 2 : address reviewer feedback #
Messages
Total messages: 21 (10 generated)
Description was changed from ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None ========== to ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ==========
Description was changed from ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ========== to ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ==========
vollick@chromium.org changed reviewers: + danakj@chromium.org
The CQ bit was checked by vollick@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752263003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752263003/1
vollick@chromium.org changed reviewers: + ajuma@chromium.org, weiliangc@chromium.org
+some other folks in case they're interested/free.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
LGTM https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... File cc/layers/layer_list_iterator_unittest.cc (right): https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:60: for (auto it : *host_impl.active_tree()) { do you mean auto layer? when doing a for loop the variable is the return of *iterator. https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:82: for (auto it : *host_impl.active_tree()) { dittos https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:141: for (auto it : base::Reversed(*host_impl.active_tree())) { ditto https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:164: for (auto it : base::Reversed(*host_impl.active_tree())) { ditto https://codereview.chromium.org/1752263003/diff/1/cc/trees/layer_tree_impl.h File cc/trees/layer_tree_impl.h (right): https://codereview.chromium.org/1752263003/diff/1/cc/trees/layer_tree_impl.h#... cc/trees/layer_tree_impl.h:146: LayerListIterator begin(); Can you leave a comment saying what these iterate and in what order?
https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... File cc/layers/layer_list_iterator_unittest.cc (right): https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:60: for (auto it : *host_impl.active_tree()) { On 2016/03/03 00:35:50, danakj wrote: > do you mean auto layer? when doing a for loop the variable is the return of > *iterator. Also if it's a pointer, use auto*
https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... File cc/layers/layer_list_iterator_unittest.cc (right): https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:60: for (auto it : *host_impl.active_tree()) { On 2016/03/03 00:35:50, danakj wrote: > do you mean auto layer? when doing a for loop the variable is the return of > *iterator. Done. https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:60: for (auto it : *host_impl.active_tree()) { On 2016/03/03 00:36:08, danakj wrote: > On 2016/03/03 00:35:50, danakj wrote: > > do you mean auto layer? when doing a for loop the variable is the return of > > *iterator. > > Also if it's a pointer, use auto* Done. https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:82: for (auto it : *host_impl.active_tree()) { On 2016/03/03 00:35:50, danakj wrote: > dittos Done. https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:141: for (auto it : base::Reversed(*host_impl.active_tree())) { On 2016/03/03 00:35:50, danakj wrote: > ditto Done. https://codereview.chromium.org/1752263003/diff/1/cc/layers/layer_list_iterat... cc/layers/layer_list_iterator_unittest.cc:164: for (auto it : base::Reversed(*host_impl.active_tree())) { On 2016/03/03 00:35:50, danakj wrote: > ditto Done.
The CQ bit was checked by vollick@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from danakj@chromium.org, ajuma@chromium.org Link to the patchset: https://codereview.chromium.org/1752263003/#ps20001 (title: "address reviewer feedback")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1752263003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1752263003/20001
Message was sent while issue was closed.
Description was changed from ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ========== to ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel ========== to ========== Add LayerTreeImpl end/begin/rend/rbegin This also allows for some pretty cute ways to iterate. See some examples in the unit test. BUG=None CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/7ee64947b2b915e2014b88238ab8f810ded79a11 Cr-Commit-Position: refs/heads/master@{#378967} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/7ee64947b2b915e2014b88238ab8f810ded79a11 Cr-Commit-Position: refs/heads/master@{#378967} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
