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

Unified Diff: cc/tiles/tile_manager_unittest.cc

Issue 2688673003: cc: Distinguish single texture mask from normal masks (Closed)
Patch Set: Rebase Created 3 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/test/fake_picture_layer_impl.cc ('k') | cc/trees/layer_tree_host_pixeltest_blending.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager_unittest.cc
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc
index 8e4d4aecd3ad90219adc2356db19185be6486119..70c496ef9802aead7b8c3aafa083eaf757049ad3 100644
--- a/cc/tiles/tile_manager_unittest.cc
+++ b/cc/tiles/tile_manager_unittest.cc
@@ -1444,8 +1444,8 @@ TEST_F(TileManagerTilePriorityQueueTest, NoRasterTasksforSolidColorTiles) {
FakePictureLayerTilingClient tiling_client;
tiling_client.SetTileSize(size);
- std::unique_ptr<PictureLayerImpl> layer_impl =
- PictureLayerImpl::Create(host_impl()->active_tree(), 1, false);
+ std::unique_ptr<PictureLayerImpl> layer_impl = PictureLayerImpl::Create(
+ host_impl()->active_tree(), 1, Layer::LayerMaskType::NOT_MASK);
layer_impl->set_is_drawn_render_surface_layer_list_member(true);
PictureLayerTilingSet* tiling_set = layer_impl->picture_layer_tiling_set();
@@ -1647,8 +1647,8 @@ TEST_F(TileManagerTest, LowResHasNoImage) {
FakePictureLayerTilingClient tiling_client;
tiling_client.SetTileSize(size);
- std::unique_ptr<PictureLayerImpl> layer =
- PictureLayerImpl::Create(host_impl()->active_tree(), 1, false);
+ std::unique_ptr<PictureLayerImpl> layer = PictureLayerImpl::Create(
+ host_impl()->active_tree(), 1, Layer::LayerMaskType::NOT_MASK);
PictureLayerTilingSet* tiling_set = layer->picture_layer_tiling_set();
layer->set_is_drawn_render_surface_layer_list_member(true);
« no previous file with comments | « cc/test/fake_picture_layer_impl.cc ('k') | cc/trees/layer_tree_host_pixeltest_blending.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698