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

Unified Diff: cc/debug/rasterize_and_record_benchmark_impl.cc

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Re-add ios changes Created 3 years, 11 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/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 ca6d294223a580f1867ff344970720a3bb85dd33..9e3a9a759e6ad1b0e6752d9e5a96fd94e8f221b0 100644
--- a/cc/debug/rasterize_and_record_benchmark_impl.cc
+++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
@@ -51,8 +51,7 @@ void RunBenchmark(RasterSource* raster_source,
SkBitmap bitmap;
bitmap.allocPixels(SkImageInfo::MakeN32Premul(content_rect.width(),
content_rect.height()));
- SkCanvas canvas(bitmap);
-
+ PaintCanvas canvas(bitmap);
raster_source->PlaybackToCanvas(&canvas, content_rect, content_rect,
contents_scale,
RasterSource::PlaybackSettings());

Powered by Google App Engine
This is Rietveld 408576698