| Index: cc/trees/single_thread_proxy.cc
|
| diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
|
| index 0c04b5b78e5fda9b66efcbcbeba6969455896797..7833b24b8681bfb2352c98314622022fbe9922df 100644
|
| --- a/cc/trees/single_thread_proxy.cc
|
| +++ b/cc/trees/single_thread_proxy.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/auto_reset.h"
|
| #include "base/debug/trace_event.h"
|
| +#include "cc/debug/benchmark_instrumentation.h"
|
| #include "cc/output/context_provider.h"
|
| #include "cc/output/output_surface.h"
|
| #include "cc/quads/draw_quad.h"
|
| @@ -225,7 +226,8 @@ void SingleThreadProxy::DoCommit(scoped_ptr<ResourceUpdateQueue> queue) {
|
|
|
| RenderingStatsInstrumentation* stats_instrumentation =
|
| layer_tree_host_->rendering_stats_instrumentation();
|
| - stats_instrumentation->IssueTraceEventForMainThreadStats();
|
| + BenchmarkInstrumentation::IssueMainThreadRenderingStatsEvent(
|
| + stats_instrumentation->main_thread_rendering_stats());
|
| stats_instrumentation->AccumulateAndClearMainThreadStats();
|
| }
|
| layer_tree_host_->CommitComplete();
|
|
|