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

Unified Diff: cc/resources/tile.h

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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/texture_uploader.cc ('k') | cc/resources/tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index c3ca623a38c09262d547f955be3b27dd37f7712e..698f43da27afe7d54ef6a10cefc8549e5abc8dae 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -88,7 +88,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
bool HasResource() const { return draw_info_.has_resource(); }
bool NeedsRaster() const {
- return draw_info_.mode() == TileDrawInfo::OOM_MODE ||
+ return draw_info_.mode() == TileDrawInfo::PICTURE_PILE_MODE ||
!draw_info_.IsReadyToDraw();
}
@@ -150,9 +150,9 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
gfx::Size desired_texture_size_;
gfx::Rect content_rect_;
float contents_scale_;
- bool is_occluded_[LAST_TREE + 1];
+ bool is_occluded_[NUM_TREES];
- TilePriority priority_[LAST_TREE + 1];
+ TilePriority priority_[NUM_TREES];
TileDrawInfo draw_info_;
int layer_id_;
« no previous file with comments | « cc/resources/texture_uploader.cc ('k') | cc/resources/tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698