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

Unified Diff: cc/picture_layer.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_layer.h ('k') | cc/picture_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer.cc
diff --git a/cc/picture_layer.cc b/cc/picture_layer.cc
index 0845af8d1f384865e067f1397f771dfc40b5ab86..b9ce65a50240b32e79e5b2e4c94c09d4e4ca418c 100644
--- a/cc/picture_layer.cc
+++ b/cc/picture_layer.cc
@@ -61,7 +61,7 @@ void PictureLayer::setNeedsDisplayRect(const gfx::RectF& layer_rect) {
}
void PictureLayer::update(ResourceUpdateQueue&, const OcclusionTracker*,
- RenderingStats& stats) {
+ RenderingStats* stats) {
// Do not early-out of this function so that PicturePile::Update has a chance
// to record pictures due to changing visibility of this layer.
« no previous file with comments | « cc/picture_layer.h ('k') | cc/picture_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698