summaryrefslogtreecommitdiffstats
path: root/cc/picture_pile.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/picture_pile.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/picture_pile.h')
-rw-r--r--cc/picture_pile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/picture_pile.h b/cc/picture_pile.h
index e5818ce..a6271fa 100644
--- a/cc/picture_pile.h
+++ b/cc/picture_pile.h
@@ -23,7 +23,7 @@ class CC_EXPORT PicturePile : public PicturePileBase {
ContentLayerClient* painter,
const Region& invalidation,
gfx::Rect visible_layer_rect,
- RenderingStats& stats);
+ RenderingStats* stats);
// Update other with a shallow copy of this (main => compositor thread commit)
void PushPropertiesTo(PicturePileImpl* other);