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

Unified Diff: cc/resources/caching_bitmap_content_layer_updater.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 190965 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/caching_bitmap_content_layer_updater.h
diff --git a/cc/resources/caching_bitmap_content_layer_updater.h b/cc/resources/caching_bitmap_content_layer_updater.h
index 420d6d5f6388cda6314366919356f5b8caebc96d..e77ce0cf2caf8ea805522f1b349712f5987ff6fd 100644
--- a/cc/resources/caching_bitmap_content_layer_updater.h
+++ b/cc/resources/caching_bitmap_content_layer_updater.h
@@ -14,21 +14,23 @@ namespace cc {
class CachingBitmapContentLayerUpdater : public BitmapContentLayerUpdater {
public:
static scoped_refptr<CachingBitmapContentLayerUpdater> Create(
- scoped_ptr<LayerPainter>);
+ scoped_ptr<LayerPainter>,
+ RenderingStatsInstrumentation* stats_instrumentation);
virtual void PrepareToUpdate(gfx::Rect content_rect,
gfx::Size tile_size,
float contents_width_scale,
float contents_height_scale,
- gfx::Rect* resulting_opaque_rect,
- RenderingStats* stats) OVERRIDE;
+ gfx::Rect* resulting_opaque_rect) OVERRIDE;
bool pixels_did_change() const {
return pixels_did_change_;
}
private:
- explicit CachingBitmapContentLayerUpdater(scoped_ptr<LayerPainter> painter);
+ CachingBitmapContentLayerUpdater(
+ scoped_ptr<LayerPainter> painter,
+ RenderingStatsInstrumentation* stats_instrumentation);
virtual ~CachingBitmapContentLayerUpdater();
bool pixels_did_change_;
« no previous file with comments | « cc/resources/bitmap_skpicture_content_layer_updater.cc ('k') | cc/resources/caching_bitmap_content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698