From dc6c55257f665c63e3fd10fa3610bd097ec1e880 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Sat, 2 Feb 2013 01:10:30 +0000 Subject: cc: Avoid expensive RenderingStats collection. When --enable-gpu-benchmarking is not present, don't do expensive steps in the benchmark collection (meaning don't call base::TimeTicks::Now()). BUG=170735 NOTRY=true Depends on: https://bugs.webkit.org/show_bug.cgi?id=108358 Review URL: https://chromiumcodereview.appspot.com/12095053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180224 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/fake_content_layer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/test/fake_content_layer.h') diff --git a/cc/test/fake_content_layer.h b/cc/test/fake_content_layer.h index 94b1266..96dc695 100644 --- a/cc/test/fake_content_layer.h +++ b/cc/test/fake_content_layer.h @@ -25,7 +25,7 @@ class FakeContentLayer : public ContentLayer { virtual void update( ResourceUpdateQueue& queue, const OcclusionTracker* occlusion, - RenderingStats& stats) OVERRIDE; + RenderingStats* stats) OVERRIDE; bool HaveBackingAt(int i, int j); -- cgit v1.1