Index: cc/trees/occlusion_tracker.h |
diff --git a/cc/trees/occlusion_tracker.h b/cc/trees/occlusion_tracker.h |
index a47ce0488b1776889e0a51590a4f0108979491b8..9a0b8a1687eb4402ecdd82012332174730295499 100644 |
--- a/cc/trees/occlusion_tracker.h |
+++ b/cc/trees/occlusion_tracker.h |
@@ -14,7 +14,6 @@ |
#include "ui/gfx/rect.h" |
namespace cc { |
-class OverdrawMetrics; |
class LayerImpl; |
class RenderSurfaceImpl; |
class Layer; |
@@ -32,8 +31,7 @@ class RenderSurface; |
template <typename LayerType> |
class CC_EXPORT OcclusionTracker { |
public: |
- OcclusionTracker(const gfx::Rect& screen_space_clip_rect, |
- bool record_metrics_for_frame); |
+ explicit OcclusionTracker(const gfx::Rect& screen_space_clip_rect); |
~OcclusionTracker(); |
// Called at the beginning of each step in the LayerIterator's front-to-back |
@@ -67,11 +65,6 @@ class CC_EXPORT OcclusionTracker { |
bool for_replica, |
const gfx::Rect& content_rect) const; |
- // Report operations for recording overdraw metrics. |
- OverdrawMetrics* overdraw_metrics() const { |
- return overdraw_metrics_.get(); |
- } |
- |
// Gives the region of the screen that is not occluded by something opaque. |
Region ComputeVisibleRegionInScreen() const { |
DCHECK(!stack_.back().target->parent()); |
@@ -139,7 +132,6 @@ class CC_EXPORT OcclusionTracker { |
void MarkOccludedBehindLayer(const LayerType* layer); |
gfx::Rect screen_space_clip_rect_; |
- scoped_ptr<class OverdrawMetrics> overdraw_metrics_; |
gfx::Size minimum_tracking_size_; |
// This is used for visualizing the occlusion tracking process. |