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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 2026033002: cc: Remove can_use_lcd_text from draw properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 cf2624055189864e75dc50f4088c99ccdf23887b..7f6eef6a4b3f23b212e588426125e7f5d94f4918 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -4550,7 +4550,7 @@ TEST_F(PictureLayerImplTest, UpdateLCDInvalidatesPendingTree) {
EXPECT_EQ(pending_layer()->raster_source(),
prioritized_tiles[tile].raster_source());
- pending_layer()->draw_properties().can_use_lcd_text = false;
+ pending_layer()->SetContentsOpaque(false);
pending_layer()->UpdateCanUseLCDTextAfterCommit();
EXPECT_FALSE(pending_layer()->RasterSourceUsesLCDText());

Powered by Google App Engine
This is Rietveld 408576698