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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1132443003: cc: Move raster_source from Tile to PrioritizedTile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename var Created 5 years, 7 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 25f48d6fb4a4c466f1e42ecb83223389ec13d19b..27688591420284b6853c22b0b7cb93350d623402 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -955,8 +955,8 @@ AnimationRegistrar* LayerTreeImpl::GetAnimationRegistrar() const {
return layer_tree_host_impl_->animation_registrar();
}
-void LayerTreeImpl::GetAllTilesAndPrioritiesForTracing(
- std::map<const Tile*, TilePriority>* tile_map) const {
+void LayerTreeImpl::GetAllPrioritizedTilesForTracing(
+ std::vector<PrioritizedTile>* prioritized_tiles) const {
typedef LayerIterator<LayerImpl> LayerIteratorType;
LayerIteratorType end = LayerIteratorType::End(&render_surface_layer_list_);
for (LayerIteratorType it =
@@ -966,7 +966,7 @@ void LayerTreeImpl::GetAllTilesAndPrioritiesForTracing(
if (!it.represents_itself())
continue;
LayerImpl* layer_impl = *it;
- layer_impl->GetAllTilesAndPrioritiesForTracing(tile_map);
+ layer_impl->GetAllPrioritizedTilesForTracing(prioritized_tiles);
}
}
« 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