summaryrefslogtreecommitdiffstats
path: root/cc/test/render_pass_test_common.h
diff options
context:
space:
mode:
authorweiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-08 01:45:18 +0000
committerweiliangc@chromium.org <weiliangc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-08 01:45:18 +0000
commit2b7f389bd690d17ce59dc8e42470d1d0ec7c1b26 (patch)
treed307e5871180757a1f3533ae346718d728fc1abb /cc/test/render_pass_test_common.h
parent31334fc0a98604072c7b05d0c378513ada4f0091 (diff)
downloadchromium_src-2b7f389bd690d17ce59dc8e42470d1d0ec7c1b26.zip
chromium_src-2b7f389bd690d17ce59dc8e42470d1d0ec7c1b26.tar.gz
chromium_src-2b7f389bd690d17ce59dc8e42470d1d0ec7c1b26.tar.bz2
Use RenderPass CreateAndAppendSQS whenever possible
This CL is a follow up on 265823015. Now RenderPass has function to create and append SharedQuadState without passing around the owndership, use this function whenever possible, instead of create SQS and pass it into RenderPass. This CL also helps future CL that will expose the default constructor of SQS, and remove scoped_ptr constructor. BUG=344962 TEST=cc_unittests, content_unittests, content_perftests Review URL: https://codereview.chromium.org/271703003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_common.h')
-rw-r--r--cc/test/render_pass_test_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc/test/render_pass_test_common.h b/cc/test/render_pass_test_common.h
index 651278f..24467ed 100644
--- a/cc/test/render_pass_test_common.h
+++ b/cc/test/render_pass_test_common.h
@@ -20,7 +20,6 @@ class TestRenderPass : public RenderPass {
}
void AppendQuad(scoped_ptr<DrawQuad> quad);
- void AppendSharedQuadState(scoped_ptr<SharedQuadState> state);
void AppendOneOfEveryQuadType(ResourceProvider* resource_provider,
RenderPass::Id child_pass);