Index: cc/trees/layer_tree_host_impl_unittest.cc |
=================================================================== |
--- cc/trees/layer_tree_host_impl_unittest.cc (revision 250868) |
+++ cc/trees/layer_tree_host_impl_unittest.cc (working copy) |
@@ -4319,6 +4319,14 @@ |
DrawFrameAndTestDamage(no_damage); |
} |
+// TODO(reveman): Remove this test and the ability to prevent on demand raster |
+// when delegating renderer supports PictureDrawQuads. crbug.com/342121 |
+TEST_F(LayerTreeHostImplTestWithDelegatingRenderer, PreventRasterizeOnDemand) { |
+ LayerTreeSettings settings; |
+ CreateHostImpl(settings, CreateOutputSurface()); |
+ EXPECT_FALSE(host_impl_->GetRendererCapabilities().allow_rasterize_on_demand); |
+} |
+ |
class FakeMaskLayerImpl : public LayerImpl { |
public: |
static scoped_ptr<FakeMaskLayerImpl> Create(LayerTreeImpl* tree_impl, |