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

Unified Diff: cc/debug/picture_record_benchmark.cc

Issue 900043002: Modify rasterize_and_record for DisplayItemList recording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/picture_record_benchmark.cc
diff --git a/cc/debug/picture_record_benchmark.cc b/cc/debug/picture_record_benchmark.cc
index d0d031d2c13b2b00f31025781144fa0b71c86c22..b1b8188d92f1cc1a8e2d22945259eb417e0bb57a 100644
--- a/cc/debug/picture_record_benchmark.cc
+++ b/cc/debug/picture_record_benchmark.cc
@@ -106,8 +106,9 @@ void PictureRecordBenchmark::RunOnLayer(PictureLayer* layer) {
base::TimeTicks start = base::TimeTicks::Now();
- scoped_refptr<Picture> picture = Picture::Create(
- rect, painter, tile_grid_size, false, Picture::RECORD_NORMALLY);
+ scoped_refptr<Picture> picture =
+ Picture::Create(rect, painter, tile_grid_size, false,
+ RecordingSource::RECORD_NORMALLY);
base::TimeTicks end = base::TimeTicks::Now();
base::TimeDelta duration = end - start;

Powered by Google App Engine
This is Rietveld 408576698