diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 01:10:30 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-02 01:10:30 +0000 |
commit | dc6c55257f665c63e3fd10fa3610bd097ec1e880 (patch) | |
tree | e95da14a21214e73afc64a29246177d6d7e23347 /cc/test/fake_content_layer.cc | |
parent | 5016a9dde9a77b4801bf4126317ab2a271be0768 (diff) | |
download | chromium_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.cc')
-rw-r--r-- | cc/test/fake_content_layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/fake_content_layer.cc b/cc/test/fake_content_layer.cc index c103b24..ca1d859 100644 --- a/cc/test/fake_content_layer.cc +++ b/cc/test/fake_content_layer.cc @@ -27,7 +27,7 @@ scoped_ptr<LayerImpl> FakeContentLayer::createLayerImpl( void FakeContentLayer::update( ResourceUpdateQueue& queue, const OcclusionTracker* occlusion, - RenderingStats& stats) { + RenderingStats* stats) { ContentLayer::update(queue, occlusion, stats); update_count_++; } |