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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 1075523002: cc: Add UMA stats for record and raster time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use area actually recorded Created 5 years, 8 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/layers/picture_layer_impl_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index c56d0aecee55e902821427bfc307d227450f2964..df018d1447b469971d062ff45ef4ca2ce2e393b5 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -4657,7 +4657,7 @@ void PictureLayerImplTest::TestQuadsForSolidColor(bool test_for_solid) {
Region invalidation(layer_rect);
recording_source->UpdateAndExpandInvalidation(
&client, &invalidation, layer_bounds, layer_rect, frame_number++,
- RecordingSource::RECORD_NORMALLY);
+ RecordingSource::RECORD_NORMALLY, nullptr);
scoped_refptr<RasterSource> pending_raster_source =
recording_source->CreateRasterSource(true);
@@ -4720,7 +4720,7 @@ TEST_F(PictureLayerImplTest, NonSolidToSolidNoTilings) {
Region invalidation1(layer_rect);
recording_source->UpdateAndExpandInvalidation(
&client, &invalidation1, layer_bounds, layer_rect, frame_number++,
- RecordingSource::RECORD_NORMALLY);
+ RecordingSource::RECORD_NORMALLY, nullptr);
scoped_refptr<RasterSource> raster_source1 =
recording_source->CreateRasterSource(true);
@@ -4739,7 +4739,7 @@ TEST_F(PictureLayerImplTest, NonSolidToSolidNoTilings) {
Region invalidation2(layer_rect);
recording_source->UpdateAndExpandInvalidation(
&client, &invalidation2, layer_bounds, layer_rect, frame_number++,
- RecordingSource::RECORD_NORMALLY);
+ RecordingSource::RECORD_NORMALLY, nullptr);
scoped_refptr<RasterSource> raster_source2 =
recording_source->CreateRasterSource(true);

Powered by Google App Engine
This is Rietveld 408576698