diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 16:38:59 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 16:38:59 +0000 |
commit | cad4514d71e45ccc6da159abdb18c6851eda9fef (patch) | |
tree | d45467873807e8b8b41c07ff63b3ae1ad4931111 /cc/test/render_pass_test_utils.cc | |
parent | 372bad5f74bce22b5a09ecba66744079e64dc477 (diff) | |
download | chromium_src-cad4514d71e45ccc6da159abdb18c6851eda9fef.zip chromium_src-cad4514d71e45ccc6da159abdb18c6851eda9fef.tar.gz chromium_src-cad4514d71e45ccc6da159abdb18c6851eda9fef.tar.bz2 |
cc: Chromify MockQuadCuller
NOTRY=true
R=danakj@chromium.org
BUG=none
Review URL: https://chromiumcodereview.appspot.com/12549028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189622 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 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc index d232f7d..f803b4c 100644 --- a/cc/test/render_pass_test_utils.cc +++ b/cc/test/render_pass_test_utils.cc @@ -29,7 +29,7 @@ TestRenderPass* addRenderPass(RenderPassList& passList, SolidColorDrawQuad* addQuad(TestRenderPass* pass, const gfx::Rect& rect, SkColor color) { - MockQuadCuller quadSink(pass->quad_list, pass->shared_quad_state_list); + MockQuadCuller quadSink(&pass->quad_list, &pass->shared_quad_state_list); AppendQuadsData data(pass->id); SharedQuadState* sharedState = quadSink.UseSharedQuadState(SharedQuadState::Create()); @@ -44,7 +44,7 @@ SolidColorDrawQuad* addQuad(TestRenderPass* pass, SolidColorDrawQuad* addClippedQuad(TestRenderPass* pass, const gfx::Rect& rect, SkColor color) { - MockQuadCuller quadSink(pass->quad_list, pass->shared_quad_state_list); + MockQuadCuller quadSink(&pass->quad_list, &pass->shared_quad_state_list); AppendQuadsData data(pass->id); SharedQuadState* sharedState = quadSink.UseSharedQuadState(SharedQuadState::Create()); @@ -58,12 +58,13 @@ SolidColorDrawQuad* addClippedQuad(TestRenderPass* pass, void addRenderPassQuad(TestRenderPass* toPass, TestRenderPass* contributingPass) { - MockQuadCuller quadSink(toPass->quad_list, toPass->shared_quad_state_list); + MockQuadCuller quadSink(&toPass->quad_list, &toPass->shared_quad_state_list); AppendQuadsData data(toPass->id); gfx::Rect outputRect = contributingPass->output_rect; SharedQuadState* sharedState = quadSink.UseSharedQuadState(SharedQuadState::Create()); - sharedState->SetAll(gfx::Transform(), outputRect.size(), outputRect, outputRect, false, 1); + sharedState->SetAll( + gfx::Transform(), outputRect.size(), outputRect, outputRect, false, 1); scoped_ptr<RenderPassDrawQuad> quad = RenderPassDrawQuad::Create(); quad->SetNew(sharedState, outputRect, contributingPass->id, false, 0, outputRect, gfx::RectF(), WebKit::WebFilterOperations(), |