Index: cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc |
diff --git a/cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc b/cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc |
index 4d60baf355e89ef5437a964c28f032162cad8da1..a5ccb8b65c3bfdad1b0595caf859cfbf8d3a847c 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_on_demand_raster.cc |
@@ -111,6 +111,19 @@ |
RunOnDemandRasterPixelTest(); |
} |
+class LayerTreeHostOnDemandRasterPixelTestWithGpuRasterizationForced |
+ : public LayerTreeHostOnDemandRasterPixelTest { |
+ void InitializeSettings(LayerTreeSettings* settings) override { |
+ LayerTreeHostOnDemandRasterPixelTest::InitializeSettings(settings); |
+ settings->gpu_rasterization_forced = true; |
+ } |
+}; |
+ |
+TEST_F(LayerTreeHostOnDemandRasterPixelTestWithGpuRasterizationForced, |
+ RasterPictureLayer) { |
+ RunOnDemandRasterPixelTest(); |
+} |
+ |
} // namespace |
} // namespace cc |