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

Unified Diff: cc/picture_image_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_image_layer.h ('k') | cc/picture_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_image_layer.cc
diff --git a/cc/picture_image_layer.cc b/cc/picture_image_layer.cc
index b87c6e6d9cbbd0304037a69f7b3626c048b1eb1e..14864464ae12dc50ddc9d5e202e23c15dd08c3ba 100644
--- a/cc/picture_image_layer.cc
+++ b/cc/picture_image_layer.cc
@@ -39,7 +39,7 @@ void PictureImageLayer::setBitmap(const SkBitmap& bitmap)
void PictureImageLayer::update(
ResourceUpdateQueue& queue,
const OcclusionTracker* tracker,
- RenderingStats& stats) {
+ RenderingStats* stats) {
if (bounds() != bounds_) {
// Pictures are recorded in layer space, so if the layer size changes,
// then the picture needs to be re-scaled, as a directly composited image
« no previous file with comments | « cc/picture_image_layer.h ('k') | cc/picture_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698