diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 15:48:48 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-23 15:48:48 +0000 |
commit | 59be4dbc6242ed7c8d5c29aec529f9fc7c7e9da9 (patch) | |
tree | 627df820ed95c7c266378f6017eb274a15e42279 /cc/test/render_pass_test_utils.cc | |
parent | fc6b05e9e695857354c4b4160d16581172815fee (diff) | |
download | chromium_src-59be4dbc6242ed7c8d5c29aec529f9fc7c7e9da9.zip chromium_src-59be4dbc6242ed7c8d5c29aec529f9fc7c7e9da9.tar.gz chromium_src-59be4dbc6242ed7c8d5c29aec529f9fc7c7e9da9.tar.bz2 |
Remove QuadSink::MaybeAppend and the QuadCuller unit tests.
The QuadCuller unit tests are now testing the TiledLayerImpl instead
of the QuadCuller, and have been superceded by the
FooLayerImpl.Occlusion tests for each LayerImpl subclass.
R=enne@chromium.org
BUG=344962
Review URL: https://codereview.chromium.org/248223002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265653 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_utils.cc')
-rw-r--r-- | cc/test/render_pass_test_utils.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc index 679ce19..8d0d955 100644 --- a/cc/test/render_pass_test_utils.cc +++ b/cc/test/render_pass_test_utils.cc @@ -44,7 +44,7 @@ SolidColorDrawQuad* AddQuad(TestRenderPass* pass, scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create(); quad->SetNew(shared_state, rect, rect, color, false); SolidColorDrawQuad* quad_ptr = quad.get(); - quad_sink.MaybeAppend(quad.PassAs<DrawQuad>()); + quad_sink.Append(quad.PassAs<DrawQuad>()); return quad_ptr; } @@ -64,7 +64,7 @@ SolidColorDrawQuad* AddClippedQuad(TestRenderPass* pass, scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create(); quad->SetNew(shared_state, rect, rect, color, false); SolidColorDrawQuad* quad_ptr = quad.get(); - quad_sink.MaybeAppend(quad.PassAs<DrawQuad>()); + quad_sink.Append(quad.PassAs<DrawQuad>()); return quad_ptr; } @@ -80,7 +80,7 @@ SolidColorDrawQuad* AddTransformedQuad(TestRenderPass* pass, scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create(); quad->SetNew(shared_state, rect, rect, color, false); SolidColorDrawQuad* quad_ptr = quad.get(); - quad_sink.MaybeAppend(quad.PassAs<DrawQuad>()); + quad_sink.Append(quad.PassAs<DrawQuad>()); return quad_ptr; } @@ -109,7 +109,7 @@ void AddRenderPassQuad(TestRenderPass* to_pass, gfx::RectF(), FilterOperations(), FilterOperations()); - quad_sink.MaybeAppend(quad.PassAs<DrawQuad>()); + quad_sink.Append(quad.PassAs<DrawQuad>()); } void AddRenderPassQuad(TestRenderPass* to_pass, @@ -140,7 +140,7 @@ void AddRenderPassQuad(TestRenderPass* to_pass, gfx::RectF(), filters, FilterOperations()); - quad_sink.MaybeAppend(quad.PassAs<DrawQuad>()); + quad_sink.Append(quad.PassAs<DrawQuad>()); } } // namespace cc |