Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: cc/layers/delegated_renderer_layer_impl_unittest.cc

Issue 13206004: cc: Fix build issues for adding ‘chromium_code’: 1 to cc.gyp and cc_tests.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl.cc ('k') | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/delegated_renderer_layer_impl_unittest.cc
diff --git a/cc/layers/delegated_renderer_layer_impl_unittest.cc b/cc/layers/delegated_renderer_layer_impl_unittest.cc
index 87028f83dd4750af69600a02402e200c5de4f80c..6e6c00f2272f6368622a9d08a0e1edf6c5dcb6ea 100644
--- a/cc/layers/delegated_renderer_layer_impl_unittest.cc
+++ b/cc/layers/delegated_renderer_layer_impl_unittest.cc
@@ -1021,8 +1021,6 @@ TEST_F(DelegatedRendererLayerImplTestClip,
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the quads don't have a clip of their own, the clip rect is set to
// the drawable_content_rect of the delegated renderer layer.
@@ -1053,8 +1051,6 @@ TEST_F(DelegatedRendererLayerImplTestClip,
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the quads have a clip of their own, it is used.
EXPECT_EQ(gfx::Rect(25, 25, 40, 40).ToString(),
@@ -1083,8 +1079,6 @@ TEST_F(DelegatedRendererLayerImplTestClip,
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the quads don't have a clip of their own, the clip rect is set to
// the drawable_content_rect of the delegated renderer layer. When the layer
@@ -1115,8 +1109,6 @@ TEST_F(DelegatedRendererLayerImplTestClip,
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the quads have a clip of their own, it is used, but it is
// combined with the clip rect of the delegated renderer layer.
@@ -1148,8 +1140,6 @@ TEST_F(DelegatedRendererLayerImplTestClip,
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the layer owns a surface, the quads don't need to be clipped
// further than they already specify. If they aren't clipped, then their
@@ -1179,8 +1169,6 @@ TEST_F(DelegatedRendererLayerImplTestClip,
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the quads have a clip of their own, it is used.
EXPECT_EQ(gfx::Rect(5, 5, 40, 40).ToString(),
@@ -1211,8 +1199,6 @@ TEST_F(DelegatedRendererLayerImplTestClip,
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the layer owns a surface, the quads don't need to be clipped
// further than they already specify. If they aren't clipped, then their
@@ -1241,8 +1227,6 @@ TEST_F(DelegatedRendererLayerImplTestClip, QuadsClipped_LayerClipped_Surface) {
ASSERT_EQ(5u, root_delegated_quad_list.size());
const SharedQuadState* root_delegated_shared_quad_state =
root_delegated_quad_list[0]->shared_quad_state;
- const SharedQuadState* contrib_delegated_shared_quad_state =
- contrib_delegated_quad_list[0]->shared_quad_state;
// When the quads have a clip of their own, it is used, but it is
// combined with the clip rect of the delegated renderer layer. If the
« no previous file with comments | « cc/layers/delegated_renderer_layer_impl.cc ('k') | cc/layers/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698