Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index 2e72e63949ebe94e98ebaf9f934131de608366e3..6a1f3b20228f19d5b049b63ede4956d49b674301 100644 |
--- a/cc/layers/layer.h |
+++ b/cc/layers/layer.h |
@@ -43,7 +43,7 @@ class PriorityCalculator; |
class ResourceUpdateQueue; |
class ScrollbarLayer; |
struct AnimationEvent; |
-struct RenderingStats; |
+class RenderingStatsInstrumentation; |
// Base class for composited layers. Special layer types are derived from |
// this class. |
@@ -267,8 +267,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
// These methods typically need to be overwritten by derived classes. |
virtual bool DrawsContent() const; |
virtual void Update(ResourceUpdateQueue* queue, |
- const OcclusionTracker* occlusion, |
- RenderingStats* stats) {} |
+ const OcclusionTracker* occlusion) {} |
virtual bool NeedMoreUpdates(); |
virtual void SetIsMask(bool is_mask) {} |
@@ -370,6 +369,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>, |
bool NeedsDisplayForTesting() const { return needs_display_; } |
void ResetNeedsDisplayForTesting() { needs_display_ = false; } |
+ RenderingStatsInstrumentation* rendering_stats_instrumentation() const; |
+ |
protected: |
friend class LayerImpl; |
friend class TreeSynchronizer; |