| Index: cc/resources/raster_tile_priority_queue_all.h
|
| diff --git a/cc/resources/raster_tile_priority_queue_all.h b/cc/resources/raster_tile_priority_queue_all.h
|
| index c2b8910c00611daa04831f9fe54e12d150b7b341..bdd27e351a96f85566a60bab830af570f928be38 100644
|
| --- a/cc/resources/raster_tile_priority_queue_all.h
|
| +++ b/cc/resources/raster_tile_priority_queue_all.h
|
| @@ -9,6 +9,7 @@
|
| #include <utility>
|
| #include <vector>
|
|
|
| +#include "base/containers/hash_tables.h"
|
| #include "cc/base/cc_export.h"
|
| #include "cc/layers/picture_layer_impl.h"
|
| #include "cc/resources/raster_tile_priority_queue.h"
|
| @@ -22,7 +23,8 @@ class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
|
| class PairedTilingSetQueue {
|
| public:
|
| PairedTilingSetQueue();
|
| - PairedTilingSetQueue(const PictureLayerImpl::Pair& layer_pair,
|
| + PairedTilingSetQueue(PictureLayerTilingSet* active,
|
| + PictureLayerTilingSet* pending,
|
| TreePriority tree_priority);
|
| ~PairedTilingSetQueue();
|
|
|
| @@ -45,7 +47,7 @@ class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
|
| private:
|
| scoped_ptr<TilingSetRasterQueueAll> active_queue_;
|
| scoped_ptr<TilingSetRasterQueueAll> pending_queue_;
|
| - bool has_both_layers_;
|
| + bool has_both_tiling_sets_;
|
|
|
| // Set of returned tiles (excluding the current one) for DCHECKing.
|
| std::set<const Tile*> returned_tiles_for_debug_;
|
| @@ -61,7 +63,9 @@ class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
|
| private:
|
| friend class RasterTilePriorityQueue;
|
|
|
| - void Build(const std::vector<PictureLayerImpl::Pair>& paired_layers,
|
| + void Build(const base::hash_map<int, PictureLayerTilingSet::Pair>&
|
| + paired_picture_layer_tiling_sets,
|
| + bool has_pending_tree,
|
| TreePriority tree_priority);
|
|
|
| // TODO(vmpstr): This is potentially unnecessary if it becomes the case that
|
|
|