Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: cc/picture_pile.cc

Issue 12095053: cc: Avoid expensive RenderingStats collection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/picture_pile.h ('k') | cc/picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile.cc
diff --git a/cc/picture_pile.cc b/cc/picture_pile.cc
index 5d1d546515789a975c75aac6d944b0f262ebb312..23ecdf9c76f9f623090e1615460ebbeb5d3aa1a6 100644
--- a/cc/picture_pile.cc
+++ b/cc/picture_pile.cc
@@ -33,7 +33,7 @@ void PicturePile::Update(
ContentLayerClient* painter,
const Region& invalidation,
gfx::Rect visible_layer_rect,
- RenderingStats& stats) {
+ RenderingStats* stats) {
gfx::Rect interest_rect = visible_layer_rect;
interest_rect.Inset(
-kPixelDistanceToRecord,
« no previous file with comments | « cc/picture_pile.h ('k') | cc/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698