Index: cc/resources/raster_tile_priority_queue.h |
diff --git a/cc/resources/raster_tile_priority_queue.h b/cc/resources/raster_tile_priority_queue.h |
index 5ee99f1cc44b406e1989270444db575259316a12..17d59203f80d8d03c7335e5974ef02041618cead 100644 |
--- a/cc/resources/raster_tile_priority_queue.h |
+++ b/cc/resources/raster_tile_priority_queue.h |
@@ -7,6 +7,7 @@ |
#include <vector> |
+#include "base/containers/hash_tables.h" |
#include "cc/base/cc_export.h" |
#include "cc/layers/picture_layer_impl.h" |
#include "cc/resources/tile_priority.h" |
@@ -18,9 +19,10 @@ class CC_EXPORT RasterTilePriorityQueue { |
public: |
enum class Type { ALL, REQUIRED_FOR_ACTIVATION, REQUIRED_FOR_DRAW }; |
- // TODO(vmpstr): Make this work with PictureLayerTilingSet pairs instead. |
static scoped_ptr<RasterTilePriorityQueue> Create( |
- const std::vector<PictureLayerImpl::Pair>& paired_layers, |
+ const base::hash_map<int, PictureLayerTilingSet::Pair>& |
+ paired_picture_layer_tiling_sets, |
+ bool has_pending_tree, |
TreePriority tree_priority, |
Type type); |