diff options
Diffstat (limited to 'cc/quads/render_pass_unittest.cc')
-rw-r--r-- | cc/quads/render_pass_unittest.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cc/quads/render_pass_unittest.cc b/cc/quads/render_pass_unittest.cc index 9ab0123..f2271b5 100644 --- a/cc/quads/render_pass_unittest.cc +++ b/cc/quads/render_pass_unittest.cc @@ -29,7 +29,6 @@ struct RenderPassSize { gfx::RectF damage_rect; bool has_transparent_background; bool has_occlusion_from_outside_target_surface; - std::vector<RenderPass::RequestCopyAsBitmapCallback> copy_callbacks; }; TEST(RenderPassTest, CopyShouldBeIdenticalExceptIdAndQuads) { @@ -48,7 +47,6 @@ TEST(RenderPassTest, CopyShouldBeIdenticalExceptIdAndQuads) { transform_to_root, has_transparent_background, has_occlusion_from_outside_target_surface); - pass->copy_callbacks.push_back(RenderPass::RequestCopyAsBitmapCallback()); // Stick a quad in the pass, this should not get copied. scoped_ptr<SharedQuadState> shared_state = SharedQuadState::Create(); @@ -74,9 +72,6 @@ TEST(RenderPassTest, CopyShouldBeIdenticalExceptIdAndQuads) { copy->has_occlusion_from_outside_target_surface); EXPECT_EQ(0u, copy->quad_list.size()); - // The copy callback should not be copied/duplicated. - EXPECT_EQ(0u, copy->copy_callbacks.size()); - EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); } |