| Index: cc/resources/picture_pile_impl.h
|
| diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
|
| index 66b5f72fc3832b83a7e901229afa400b7c685da8..180dba258ee2f5b347627dcdfc08a31e9b884684 100644
|
| --- a/cc/resources/picture_pile_impl.h
|
| +++ b/cc/resources/picture_pile_impl.h
|
| @@ -57,8 +57,8 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
|
| void RasterForAnalysis(
|
| skia::AnalysisCanvas* canvas,
|
| gfx::Rect canvas_rect,
|
| - float contents_scale);
|
| -
|
| + float contents_scale,
|
| + RenderingStatsInstrumentation* stats_instrumentation);
|
|
|
| skia::RefPtr<SkPicture> GetFlattenedPicture();
|
|
|
| @@ -75,6 +75,11 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
|
| float contents_scale,
|
| Analysis* analysis);
|
|
|
| + void AnalyzeInRect(gfx::Rect content_rect,
|
| + float contents_scale,
|
| + Analysis* analysis,
|
| + RenderingStatsInstrumentation* stats_instrumentation);
|
| +
|
| class CC_EXPORT PixelRefIterator {
|
| public:
|
| PixelRefIterator(gfx::Rect content_rect,
|
| @@ -134,7 +139,8 @@ class CC_EXPORT PicturePileImpl : public PicturePileBase {
|
| SkDrawPictureCallback* callback,
|
| gfx::Rect canvas_rect,
|
| float contents_scale,
|
| - RenderingStatsInstrumentation* rendering_stats_instrumentation);
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation,
|
| + bool is_analysis);
|
|
|
| // Once instantiated, |clones_for_drawing_| can't be modified. This
|
| // guarantees thread-safe access during the life time of a PicturePileImpl
|
|
|