summaryrefslogtreecommitdiffstats
path: root/cc/trees/quad_culler_unittest.cc
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 06:58:49 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 06:58:49 +0000
commit2f6816dabb5202210f62f8946856e9981bc6e6a6 (patch)
tree11ec4fe4de0379c4603a189152ccec99884b23b7 /cc/trees/quad_culler_unittest.cc
parente55515f306a3156dd959a2a66a13ff346e5d909e (diff)
downloadchromium_src-2f6816dabb5202210f62f8946856e9981bc6e6a6.zip
chromium_src-2f6816dabb5202210f62f8946856e9981bc6e6a6.tar.gz
chromium_src-2f6816dabb5202210f62f8946856e9981bc6e6a6.tar.bz2
cc: Remove the AppendQuadsData from QuadSink::Append.
The variable was unused, so drop it. R=enne BUG=344962 Review URL: https://codereview.chromium.org/194573009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256466 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/quad_culler_unittest.cc')
-rw-r--r--cc/trees/quad_culler_unittest.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/cc/trees/quad_culler_unittest.cc b/cc/trees/quad_culler_unittest.cc
index c716955..d7cd99ab 100644
--- a/cc/trees/quad_culler_unittest.cc
+++ b/cc/trees/quad_culler_unittest.cc
@@ -839,10 +839,9 @@ TEST_F(QuadCullerTest, PartialCullingNotDestroyed) {
EXPECT_EQ(0u, quad_list.size());
- AppendQuadsData data;
- culler.Append(color_quad.PassAs<DrawQuad>(), &data);
- culler.Append(pass_quad.PassAs<DrawQuad>(), &data);
- culler.Append(replica_quad.PassAs<DrawQuad>(), &data);
+ culler.Append(color_quad.PassAs<DrawQuad>());
+ culler.Append(pass_quad.PassAs<DrawQuad>());
+ culler.Append(replica_quad.PassAs<DrawQuad>());
ASSERT_EQ(3u, quad_list.size());
@@ -919,10 +918,9 @@ TEST_F(QuadCullerTest, PartialCullingWithOcclusionNotDestroyed) {
EXPECT_EQ(0u, quad_list.size());
- AppendQuadsData data;
- culler.Append(color_quad.PassAs<DrawQuad>(), &data);
- culler.Append(pass_quad.PassAs<DrawQuad>(), &data);
- culler.Append(replica_quad.PassAs<DrawQuad>(), &data);
+ culler.Append(color_quad.PassAs<DrawQuad>());
+ culler.Append(pass_quad.PassAs<DrawQuad>());
+ culler.Append(replica_quad.PassAs<DrawQuad>());
ASSERT_EQ(3u, quad_list.size());