Index: cc/resources/tile.h |
diff --git a/cc/resources/tile.h b/cc/resources/tile.h |
index 90583d275b6ef70832078fa3d25718707e58b9fc..fc004b3207fc3be03f3f782bcc8147fa702765c2 100644 |
--- a/cc/resources/tile.h |
+++ b/cc/resources/tile.h |
@@ -66,6 +66,8 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
return priority_[PENDING_TREE].required_for_activation; |
} |
+ void SetIsOccluded(WhichTree tree, bool occluded); |
+ |
bool use_picture_analysis() const { |
return !!(flags_ & USE_PICTURE_ANALYSIS); |
} |
@@ -132,9 +134,6 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
return managed_state_.tile_versions[mode]; |
} |
- void set_is_occluded(bool is_occluded) { is_occluded_ = is_occluded; } |
- bool is_occluded() const { return is_occluded_; } |
- |
private: |
friend class TileManager; |
friend class PrioritizedTileSet; |
@@ -164,7 +163,6 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> { |
gfx::Rect content_rect_; |
float contents_scale_; |
gfx::Rect opaque_rect_; |
- bool is_occluded_; |
TilePriority priority_[NUM_TREES]; |
ManagedTileState managed_state_; |