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

Unified Diff: cc/debug/picture_record_benchmark.cc

Issue 903273002: Update from https://crrev.com/315085 (Closed) Base URL: git@github.com:domokit/mojo.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
« no previous file with comments | « cc/debug/frame_timing_request.h ('k') | cc/debug/rasterize_and_record_benchmark.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/debug/frame_timing_request.h ('k') | cc/debug/rasterize_and_record_benchmark.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698