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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1887703002: cc: Add a main thread LayerListIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: For testing only Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index 5fbc305b3c13d5cc2bd397b400f5e5b40a5a148d..7d178db1e66ee257847d74b705521255c6686e75 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -441,20 +441,20 @@ void LayerTreeImpl::PushPropertiesTo(LayerTreeImpl* target_tree) {
target_tree->has_ever_been_drawn_ = false;
}
-LayerListIterator LayerTreeImpl::begin() {
- return LayerListIterator(root_layer_);
+LayerListIterator<LayerImpl> LayerTreeImpl::begin() {
+ return LayerListIterator<LayerImpl>(root_layer_);
}
-LayerListIterator LayerTreeImpl::end() {
- return LayerListIterator(nullptr);
+LayerListIterator<LayerImpl> LayerTreeImpl::end() {
+ return LayerListIterator<LayerImpl>(nullptr);
}
-LayerListReverseIterator LayerTreeImpl::rbegin() {
- return LayerListReverseIterator(root_layer_);
+LayerListReverseIterator<LayerImpl> LayerTreeImpl::rbegin() {
+ return LayerListReverseIterator<LayerImpl>(root_layer_);
}
-LayerListReverseIterator LayerTreeImpl::rend() {
- return LayerListReverseIterator(nullptr);
+LayerListReverseIterator<LayerImpl> LayerTreeImpl::rend() {
+ return LayerListReverseIterator<LayerImpl>(nullptr);
}
void LayerTreeImpl::AddToElementMap(LayerImpl* layer) {
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698