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

Unified Diff: cc/resources/tile.h

Issue 366113002: cc: Do not cleanup tiles with raster tasks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use std::vector for released tiles. Created 6 years, 5 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
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 9aeabfa190ae9b85b7ab1f6f1e595a361d9d9c62..6041d4ad4c41fc590d2bd21fdae159b21a33699e 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -168,12 +168,15 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
int layer_id,
int source_frame_number,
int flags);
+
reveman 2014/08/01 14:13:14 Nit: no need to add this blank line
sohanjg 2014/08/04 06:25:03 Done.
~Tile();
ManagedTileState& managed_state() { return managed_state_; }
const ManagedTileState& managed_state() const { return managed_state_; }
RasterMode DetermineRasterModeForResolution(TileResolution resolution) const;
+ bool HasRasterTask() const;
+
TileManager* tile_manager_;
scoped_refptr<PicturePileImpl> picture_pile_;
gfx::Rect tile_size_;

Powered by Google App Engine
This is Rietveld 408576698