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

Unified Diff: cc/resources/raster_tile_priority_queue_all.h

Issue 1130123003: cc: Separate the priority from the tile and put in new PrioritizedTile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 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/resources/raster_tile_priority_queue.h ('k') | cc/resources/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cd1c29015322cddff1381da1e8016120a26addac..2cb65cc3a57df5e843d4d88e52cd4f47a94ab992 100644
--- a/cc/resources/raster_tile_priority_queue_all.h
+++ b/cc/resources/raster_tile_priority_queue_all.h
@@ -23,7 +23,7 @@ class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
~RasterTilePriorityQueueAll() override;
bool IsEmpty() const override;
- Tile* Top() override;
+ const PrioritizedTile& Top() const override;
void Pop() override;
private:
@@ -34,6 +34,7 @@ class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
TreePriority tree_priority);
ScopedPtrVector<TilingSetRasterQueueAll>& GetNextQueues();
+ const ScopedPtrVector<TilingSetRasterQueueAll>& GetNextQueues() const;
ScopedPtrVector<TilingSetRasterQueueAll> active_queues_;
ScopedPtrVector<TilingSetRasterQueueAll> pending_queues_;
« no previous file with comments | « cc/resources/raster_tile_priority_queue.h ('k') | cc/resources/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698