Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 91a2fd2590bb542b64a34cc9810245565e0c66bb..3f816b4324de23e84b0a095ab27984c319931fef 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -4319,6 +4319,14 @@ TEST_F(LayerTreeHostImplTestWithDelegatingRenderer, FrameIncludesDamageRect) { |
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, |