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

Unified Diff: cc/debug/rasterize_and_record_benchmark_impl.cc

Issue 1799883002: cc: Refactor SkipImageCanvas and create it during playback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 47cc016d02a5325891e9a266ef348535877d0ffe..d2999c5ec223756f9e25ad875873c793937ae639 100644
--- a/cc/debug/rasterize_and_record_benchmark_impl.cc
+++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
@@ -53,8 +53,9 @@ void RunBenchmark(DisplayListRasterSource* raster_source,
content_rect.height()));
SkCanvas canvas(bitmap);
+ const bool include_images = true;
raster_source->PlaybackToCanvas(&canvas, content_rect, content_rect,
- contents_scale);
+ contents_scale, include_images);
timer.NextLap();
} while (!timer.HasTimeLimitExpired());

Powered by Google App Engine
This is Rietveld 408576698