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

Unified Diff: cc/resources/raster_tile_priority_queue_required.cc

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_required.h ('k') | cc/resources/tile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_tile_priority_queue_required.cc
diff --git a/cc/resources/raster_tile_priority_queue_required.cc b/cc/resources/raster_tile_priority_queue_required.cc
index 51255f8609593925d4c2f233934cea105a3a59af..352b1adb5d7ffb990682dd6471c8cebf7a44ce5f 100644
--- a/cc/resources/raster_tile_priority_queue_required.cc
+++ b/cc/resources/raster_tile_priority_queue_required.cc
@@ -70,7 +70,7 @@ bool RasterTilePriorityQueueRequired::IsEmpty() const {
return tiling_set_queues_.empty();
}
-Tile* RasterTilePriorityQueueRequired::Top() {
+const PrioritizedTile& RasterTilePriorityQueueRequired::Top() const {
DCHECK(!IsEmpty());
return tiling_set_queues_.back()->Top();
}
« no previous file with comments | « cc/resources/raster_tile_priority_queue_required.h ('k') | cc/resources/tile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698