summaryrefslogtreecommitdiffstats
path: root/cc/debug/rendering_stats_instrumentation.cc
diff options
context:
space:
mode:
authoregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-28 01:34:23 +0000
committeregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-28 01:34:23 +0000
commit9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c (patch)
tree6bd583ba9641f1a2ca0ad2a654b3ef0eaed86091 /cc/debug/rendering_stats_instrumentation.cc
parentbd78698c1116e009d8219fa514ba9a7cae40f96e (diff)
downloadchromium_src-9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c.zip
chromium_src-9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c.tar.gz
chromium_src-9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c.tar.bz2
cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation
This change switches all of the remaining RenderingStats collection in composited mode to use RenderinStatsInstrumentation. BUG=181319 Review URL: https://chromiumcodereview.appspot.com/12426024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/debug/rendering_stats_instrumentation.cc')
-rw-r--r--cc/debug/rendering_stats_instrumentation.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/cc/debug/rendering_stats_instrumentation.cc b/cc/debug/rendering_stats_instrumentation.cc
index f19daae..b1968f3 100644
--- a/cc/debug/rendering_stats_instrumentation.cc
+++ b/cc/debug/rendering_stats_instrumentation.cc
@@ -36,14 +36,6 @@ base::TimeDelta RenderingStatsInstrumentation::EndRecording(
return base::TimeDelta();
}
-void RenderingStatsInstrumentation::AddStats(const RenderingStats& other) {
- if (!record_rendering_stats_)
- return;
-
- base::AutoLock scoped_lock(lock_);
- rendering_stats_.Add(other);
-}
-
void RenderingStatsInstrumentation::IncrementAnimationFrameCount() {
if (!record_rendering_stats_)
return;