summaryrefslogtreecommitdiffstats
path: root/cc/debug
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2016-03-14 15:51:06 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-14 22:51:59 +0000
commitec4a417cf5346d41f6fc64f0396f83ed4b340696 (patch)
treeb9ecd464262419424b1deb92a652759467f3587b /cc/debug
parent33016d5a9b93156147fbcbd32a0922e89de91f5e (diff)
downloadchromium_src-ec4a417cf5346d41f6fc64f0396f83ed4b340696.zip
chromium_src-ec4a417cf5346d41f6fc64f0396f83ed4b340696.tar.gz
chromium_src-ec4a417cf5346d41f6fc64f0396f83ed4b340696.tar.bz2
cc: Refactor SkipImageCanvas and create it during playback.
This patch moves SkipImageCanvas into a separate file in the same directory as ImageHijackCanvas and also moves the creation of SkipImageCanvas to raster source playback (the same place as ImageHijackCanvas is created). BUG=594679 R=enne, ericrk CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1799883002 Cr-Commit-Position: refs/heads/master@{#381101}
Diffstat (limited to 'cc/debug')
-rw-r--r--cc/debug/rasterize_and_record_benchmark_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc
index 47cc016..d2999c5 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());