| Index: cc/benchmarks/rasterize_and_record_benchmark_impl.cc
|
| diff --git a/cc/benchmarks/rasterize_and_record_benchmark_impl.cc b/cc/benchmarks/rasterize_and_record_benchmark_impl.cc
|
| index c41d38ed0f0970407399c2794f1a92b91b527578..203f770b7e47957a3ba3ab00430be87cbf323097 100644
|
| --- a/cc/benchmarks/rasterize_and_record_benchmark_impl.cc
|
| +++ b/cc/benchmarks/rasterize_and_record_benchmark_impl.cc
|
| @@ -179,7 +179,7 @@ void RasterizeAndRecordBenchmarkImpl::RunOnLayer(PictureLayerImpl* layer) {
|
| settings.max_preraster_distance_in_screen_pixels);
|
|
|
| PictureLayerTiling* tiling =
|
| - tiling_set->AddTiling(1.f, layer->GetRasterSource());
|
| + tiling_set->AddTiling(gfx::AxisTransform2d(), layer->GetRasterSource());
|
| tiling->set_resolution(HIGH_RESOLUTION);
|
| tiling->CreateAllTilesForTesting();
|
| RasterSource* raster_source = tiling->raster_source().get();
|
| @@ -189,7 +189,7 @@ void RasterizeAndRecordBenchmarkImpl::RunOnLayer(PictureLayerImpl* layer) {
|
| DCHECK(*it);
|
|
|
| gfx::Rect content_rect = (*it)->content_rect();
|
| - float contents_scale = (*it)->contents_scale();
|
| + float contents_scale = (*it)->raster_transform().scale();
|
|
|
| base::TimeDelta min_time;
|
| bool is_solid_color = false;
|
|
|