summaryrefslogtreecommitdiffstats
path: root/cc/resources/tile_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/tile_manager_unittest.cc')
-rw-r--r--cc/resources/tile_manager_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc
index c9a02af8..e9562c9 100644
--- a/cc/resources/tile_manager_unittest.cc
+++ b/cc/resources/tile_manager_unittest.cc
@@ -115,6 +115,7 @@ class TileManagerTilePriorityQueueTest : public testing::Test {
pending_layer =
FakePictureLayerImpl::CreateWithRasterSource(pending_tree, id_, pile);
pending_layer->SetDrawsContent(true);
+ pending_layer->SetHasRenderSurface(true);
}
// The bounds() just mirror the pile size.
pending_layer->SetBounds(pending_layer->raster_source()->GetSize());