Index: cc/debug/rendering_stats_instrumentation.h |
diff --git a/cc/debug/rendering_stats_instrumentation.h b/cc/debug/rendering_stats_instrumentation.h |
index 734583a581574d410bd6955a31105bc6d36c8e55..8d95929f3aa2910a911c9bc9ea06f8debcf34f54 100644 |
--- a/cc/debug/rendering_stats_instrumentation.h |
+++ b/cc/debug/rendering_stats_instrumentation.h |
@@ -18,19 +18,12 @@ class CC_EXPORT RenderingStatsInstrumentation { |
static scoped_ptr<RenderingStatsInstrumentation> Create(); |
virtual ~RenderingStatsInstrumentation(); |
- // Return copy of current main thread rendering stats. |
- RenderingStats::MainThreadRenderingStats main_thread_rendering_stats(); |
- |
// Return copy of current impl thread rendering stats. |
- RenderingStats::ImplThreadRenderingStats impl_thread_rendering_stats(); |
+ RenderingStats impl_thread_rendering_stats(); |
// Return the accumulated, combined rendering stats. |
RenderingStats GetRenderingStats(); |
- // Add current main thread rendering stats to accumulator and |
- // clear current stats. |
- void AccumulateAndClearMainThreadStats(); |
- |
// Add current impl thread rendering stats to accumulator and |
// clear current stats. |
void AccumulateAndClearImplThreadStats(); |
@@ -48,8 +41,6 @@ class CC_EXPORT RenderingStatsInstrumentation { |
base::TimeDelta EndRecording(base::TimeTicks start_time) const; |
void IncrementFrameCount(int64 count); |
- void AddPaint(base::TimeDelta duration, int64 pixels); |
- void AddRecord(base::TimeDelta duration, int64 pixels); |
void AddVisibleContentArea(int64 area); |
void AddApproximatedVisibleContentArea(int64 area); |
void AddDrawDuration(base::TimeDelta draw_duration, |
@@ -65,10 +56,8 @@ class CC_EXPORT RenderingStatsInstrumentation { |
RenderingStatsInstrumentation(); |
private: |
- RenderingStats::MainThreadRenderingStats main_thread_rendering_stats_; |
- RenderingStats::MainThreadRenderingStats main_thread_rendering_stats_accu_; |
- RenderingStats::ImplThreadRenderingStats impl_thread_rendering_stats_; |
- RenderingStats::ImplThreadRenderingStats impl_thread_rendering_stats_accu_; |
+ RenderingStats impl_thread_rendering_stats_; |
+ RenderingStats impl_thread_rendering_stats_accu_; |
bool record_rendering_stats_; |