Index: cc/layers/layer.h |
diff --git a/cc/layers/layer.h b/cc/layers/layer.h |
index c0c34cc4b74cbe21f2cb6b5da997e9001c41fe44..19a44e44a78319a99a0443a659f96b9194bd5d8c 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; |