| Index: cc/test/render_pass_test_common.h
|
| diff --git a/cc/test/render_pass_test_common.h b/cc/test/render_pass_test_common.h
|
| index dede7e6f77d0a12a25caa4cf94f0001b9e5f557c..34d85228f038b48eaaffaa48b9694fd7f694faac 100644
|
| --- a/cc/test/render_pass_test_common.h
|
| +++ b/cc/test/render_pass_test_common.h
|
| @@ -14,22 +14,22 @@ class ResourceProvider;
|
| namespace WebKitTests {
|
|
|
| class TestRenderPass : public cc::RenderPass {
|
| -public:
|
| - static scoped_ptr<TestRenderPass> create(Id id, gfx::Rect outputRect, const WebKit::WebTransformationMatrix& transformToRootTarget) {
|
| - return make_scoped_ptr(new TestRenderPass(id, outputRect, transformToRootTarget));
|
| - }
|
| -
|
| - cc::QuadList& quadList() { return m_quadList; }
|
| - cc::SharedQuadStateList& sharedQuadStateList() { return m_sharedQuadStateList; }
|
| -
|
| - void appendQuad(scoped_ptr<cc::DrawQuad> quad) { m_quadList.append(quad.Pass()); }
|
| - void appendSharedQuadState(scoped_ptr<cc::SharedQuadState> state) { m_sharedQuadStateList.append(state.Pass()); }
|
| -
|
| - void appendOneOfEveryQuadType(cc::ResourceProvider*);
|
| -
|
| -protected:
|
| - TestRenderPass(Id id, gfx::Rect outputRect, const WebKit::WebTransformationMatrix& transformToRootTarget)
|
| - : RenderPass(id, outputRect, transformToRootTarget) { }
|
| + public:
|
| + static scoped_ptr<TestRenderPass> Create() {
|
| + return make_scoped_ptr(new TestRenderPass);
|
| + }
|
| +
|
| + void AppendQuad(scoped_ptr<cc::DrawQuad> quad) {
|
| + quad_list.append(quad.Pass());
|
| + }
|
| + void AppendSharedQuadState(scoped_ptr<cc::SharedQuadState> state) {
|
| + shared_quad_state_list.append(state.Pass());
|
| + }
|
| +
|
| + void AppendOneOfEveryQuadType(cc::ResourceProvider*);
|
| +
|
| + protected:
|
| + TestRenderPass() : RenderPass() {}
|
| };
|
|
|
| } // namespace WebKitTests
|
|
|