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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: bettertestsyay Created 6 years, 1 month 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 07c991a5eed62339ab6911113e99ff8c0b2e391c..459824dc038cba2a0ae0ccf2e4912caa2a5da68a 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -4501,9 +4501,9 @@ void PictureLayerImplTest::TestQuadsForSolidColor(bool test_for_solid) {
client.set_fill_with_nonsolid_color(!test_for_solid);
Region invalidation(layer_rect);
- pile->UpdateAndExpandInvalidation(&client, &invalidation, SK_ColorWHITE,
- false, false, layer_bounds, layer_rect,
- frame_number++, Picture::RECORD_NORMALLY);
+ pile->UpdateAndExpandInvalidation(
+ &client, &invalidation, SK_ColorWHITE, false, false, false, layer_bounds,
+ layer_rect, frame_number++, Picture::RECORD_NORMALLY);
scoped_refptr<PicturePileImpl> pending_pile =
PicturePileImpl::CreateFromOther(pile);
@@ -4568,9 +4568,9 @@ TEST_F(PictureLayerImplTest, NonSolidToSolidNoTilings) {
client.set_fill_with_nonsolid_color(true);
Region invalidation1(layer_rect);
- pile->UpdateAndExpandInvalidation(&client, &invalidation1, SK_ColorWHITE,
- false, false, layer_bounds, layer_rect,
- frame_number++, Picture::RECORD_NORMALLY);
+ pile->UpdateAndExpandInvalidation(
+ &client, &invalidation1, SK_ColorWHITE, false, false, false, layer_bounds,
+ layer_rect, frame_number++, Picture::RECORD_NORMALLY);
scoped_refptr<PicturePileImpl> pending_pile1 =
PicturePileImpl::CreateFromOther(pile);
@@ -4586,9 +4586,9 @@ TEST_F(PictureLayerImplTest, NonSolidToSolidNoTilings) {
client.set_fill_with_nonsolid_color(false);
Region invalidation2(layer_rect);
- pile->UpdateAndExpandInvalidation(&client, &invalidation2, SK_ColorWHITE,
- false, false, layer_bounds, layer_rect,
- frame_number++, Picture::RECORD_NORMALLY);
+ pile->UpdateAndExpandInvalidation(
+ &client, &invalidation2, SK_ColorWHITE, false, false, false, layer_bounds,
+ layer_rect, frame_number++, Picture::RECORD_NORMALLY);
scoped_refptr<PicturePileImpl> pending_pile2 =
PicturePileImpl::CreateFromOther(pile);

Powered by Google App Engine
This is Rietveld 408576698