Index: cc/debug/rendering_stats_instrumentation.h |
diff --git a/cc/debug/rendering_stats_instrumentation.h b/cc/debug/rendering_stats_instrumentation.h |
index 3a02fe98a8070f2d175ae88d745e2c3bcd0c579e..e1061dc400d1301462509118fe44656dd09214a2 100644 |
--- a/cc/debug/rendering_stats_instrumentation.h |
+++ b/cc/debug/rendering_stats_instrumentation.h |
@@ -18,20 +18,19 @@ class CC_EXPORT RenderingStatsInstrumentation { |
static scoped_ptr<RenderingStatsInstrumentation> Create(); |
virtual ~RenderingStatsInstrumentation(); |
- // Return current main thread rendering stats. |
- const MainThreadRenderingStats& main_thread_rendering_stats() { |
- return main_stats_; |
- } |
- // Return current impl thread rendering stats. |
- const ImplThreadRenderingStats& impl_thread_rendering_stats() { |
- return impl_stats_; |
- } |
+ // Return copy of current main thread rendering stats. |
+ MainThreadRenderingStats main_thread_rendering_stats(); |
+ |
+ // Return copy of current impl thread rendering stats. |
+ ImplThreadRenderingStats 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(); |