Index: cc/trees/occlusion_tracker.h |
diff --git a/cc/trees/occlusion_tracker.h b/cc/trees/occlusion_tracker.h |
index e21cb757648dcf0ef155ef4d208ec50a87d6aba8..68418c7e43533436881f397ed8ffbe2ce9e09120 100644 |
--- a/cc/trees/occlusion_tracker.h |
+++ b/cc/trees/occlusion_tracker.h |
@@ -37,10 +37,8 @@ class CC_EXPORT OcclusionTrackerBase { |
~OcclusionTrackerBase(); |
// Called at the beginning of each step in the LayerIterator's front-to-back |
- // traversal. If |prevent_occlusion| is true, the layer will be considered |
- // unoccluded. |
- void EnterLayer(const LayerIteratorPosition<LayerType>& layer_iterator, |
- bool prevent_occlusion); |
+ // traversal. |
+ void EnterLayer(const LayerIteratorPosition<LayerType>& layer_iterator); |
// Called at the end of each step in the LayerIterator's front-to-back |
// traversal. |
void LeaveLayer(const LayerIteratorPosition<LayerType>& layer_iterator); |
@@ -146,7 +144,6 @@ class CC_EXPORT OcclusionTrackerBase { |
gfx::Rect screen_space_clip_rect_; |
scoped_ptr<class OverdrawMetrics> overdraw_metrics_; |
gfx::Size minimum_tracking_size_; |
- bool prevent_occlusion_; |
// This is used for visualizing the occlusion tracking process. |
std::vector<gfx::Rect>* occluding_screen_space_rects_; |