summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_content_layer.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 01:10:30 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-02 01:10:30 +0000
commitdc6c55257f665c63e3fd10fa3610bd097ec1e880 (patch)
treee95da14a21214e73afc64a29246177d6d7e23347 /cc/test/fake_content_layer.h
parent5016a9dde9a77b4801bf4126317ab2a271be0768 (diff)
downloadchromium_src-dc6c55257f665c63e3fd10fa3610bd097ec1e880.zip
chromium_src-dc6c55257f665c63e3fd10fa3610bd097ec1e880.tar.gz
chromium_src-dc6c55257f665c63e3fd10fa3610bd097ec1e880.tar.bz2
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
Diffstat (limited to 'cc/test/fake_content_layer.h')
-rw-r--r--cc/test/fake_content_layer.h2
1 files changed, 1 insertions, 1 deletions
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);