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

Unified Diff: cc/resources/picture.h

Issue 12426024: cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 190697 Created 7 years, 9 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
Index: cc/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 3cb67910efe2716cee31335e7b1f1352fd60b438..b8bb1a512d2d061d5c30cdd0c3dbb36bba2ab1fa 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -24,7 +24,7 @@ class AnalysisCanvas;
namespace cc {
class ContentLayerClient;
-struct RenderingStats;
+struct RenderingStatsInstrumentation;
class CC_EXPORT Picture
: public base::RefCountedThreadSafe<Picture> {
@@ -43,8 +43,9 @@ class CC_EXPORT Picture
// Record a paint operation. To be able to safely use this SkPicture for
// playback on a different thread this can only be called once.
- void Record(ContentLayerClient*, RenderingStats*,
- const SkTileGridPicture::TileGridInfo& tile_grid_info);
+ void Record(ContentLayerClient* painter,
+ RenderingStatsInstrumentation* stats_instrumentation,
+ const SkTileGridPicture::TileGridInfo& tile_grid_info);
// Has Record() been called yet?
bool HasRecording() const { return picture_.get() != NULL; }

Powered by Google App Engine
This is Rietveld 408576698