| Index: cc/debug/rasterize_and_record_benchmark_impl.cc
|
| diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc
|
| index 0449e01553a7dcec7ce2f6b9d96f451060fde25d..036fdb820dd0c0f1d12ec4f474360ef26efe9f2e 100644
|
| --- a/cc/debug/rasterize_and_record_benchmark_impl.cc
|
| +++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
|
| @@ -38,9 +38,6 @@ class BenchmarkRasterTask : public Task {
|
|
|
| // Overridden from Task:
|
| virtual void RunOnWorkerThread() OVERRIDE {
|
| - PicturePileImpl* picture_pile = picture_pile_->GetCloneForDrawingOnThread(
|
| - RasterWorkerPool::GetPictureCloneIndexForCurrentThread());
|
| -
|
| // Parameters for LapTimer.
|
| const int kTimeLimitMillis = 1;
|
| const int kWarmupRuns = 0;
|
| @@ -59,9 +56,9 @@ class BenchmarkRasterTask : public Task {
|
| SkCanvas canvas(bitmap);
|
| PicturePileImpl::Analysis analysis;
|
|
|
| - picture_pile->AnalyzeInRect(
|
| + picture_pile_->AnalyzeInRect(
|
| content_rect_, contents_scale_, &analysis, NULL);
|
| - picture_pile->RasterToBitmap(
|
| + picture_pile_->RasterToBitmap(
|
| &canvas, content_rect_, contents_scale_, NULL);
|
|
|
| is_solid_color_ = analysis.is_solid_color;
|
|
|