| Index: cc/resources/picture_pile_impl_perftest.cc
|
| diff --git a/cc/resources/picture_pile_impl_perftest.cc b/cc/resources/picture_pile_impl_perftest.cc
|
| index 7f12fd125a1a28c8e2222549ddda30dc90a3e563..4e890648e10d40e4c88a2fdc562d964577fa052b 100644
|
| --- a/cc/resources/picture_pile_impl_perftest.cc
|
| +++ b/cc/resources/picture_pile_impl_perftest.cc
|
| @@ -33,10 +33,10 @@ class PicturePileImplPerfTest : public testing::Test {
|
| // Content rect that will align with top-left tile at scale 1.0.
|
| gfx::Rect content_rect(0, 0, kTileSize, kTileSize);
|
|
|
| - PicturePileImpl::Analysis analysis;
|
| + RasterSource::SolidColorAnalysis analysis;
|
| timer_.Reset();
|
| do {
|
| - pile->AnalyzeInRect(content_rect, contents_scale, &analysis);
|
| + pile->AnalyzeInRect(content_rect, contents_scale, &analysis, nullptr);
|
| timer_.NextLap();
|
| } while (!timer_.HasTimeLimitExpired());
|
|
|
| @@ -57,10 +57,10 @@ class PicturePileImplPerfTest : public testing::Test {
|
| FakeRenderingStatsInstrumentation rendering_stats_instrumentation;
|
| timer_.Reset();
|
| do {
|
| - pile->RasterToBitmap(&canvas,
|
| - content_rect,
|
| - contents_scale,
|
| - &rendering_stats_instrumentation);
|
| + pile->PlaybackToCanvas(&canvas,
|
| + content_rect,
|
| + contents_scale,
|
| + &rendering_stats_instrumentation);
|
| timer_.NextLap();
|
| } while (!timer_.HasTimeLimitExpired());
|
|
|
|
|