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

Unified Diff: cc/trees/occlusion_tracker.h

Issue 74923004: Remove unused variable OcclusionTracker::prevent_occlusion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/trees/layer_tree_host_impl.cc ('k') | cc/trees/occlusion_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/occlusion_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698