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

Unified Diff: cc/resources/raster_tile_priority_queue.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/prioritized_tile.cc ('k') | cc/resources/raster_tile_priority_queue_all.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.h
diff --git a/cc/resources/raster_tile_priority_queue.h b/cc/resources/raster_tile_priority_queue.h
index 104050e592c3c58de564ea0359c05b8753bda9b6..cd5b450dfa315a5fabd72f993f46ff0654c9eadc 100644
--- a/cc/resources/raster_tile_priority_queue.h
+++ b/cc/resources/raster_tile_priority_queue.h
@@ -12,7 +12,7 @@
#include "cc/resources/tile_priority.h"
namespace cc {
-class Tile;
+class PrioritizedTile;
class CC_EXPORT RasterTilePriorityQueue {
public:
@@ -27,7 +27,7 @@ class CC_EXPORT RasterTilePriorityQueue {
virtual ~RasterTilePriorityQueue() {}
virtual bool IsEmpty() const = 0;
- virtual Tile* Top() = 0;
+ virtual const PrioritizedTile& Top() const = 0;
virtual void Pop() = 0;
protected:
« no previous file with comments | « cc/resources/prioritized_tile.cc ('k') | cc/resources/raster_tile_priority_queue_all.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698