diff options
Diffstat (limited to 'cc/test/render_pass_test_utils.cc')
-rw-r--r-- | cc/test/render_pass_test_utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/test/render_pass_test_utils.cc b/cc/test/render_pass_test_utils.cc index 446fc4e..4c17edd 100644 --- a/cc/test/render_pass_test_utils.cc +++ b/cc/test/render_pass_test_utils.cc @@ -37,7 +37,7 @@ SolidColorDrawQuad* addQuad(TestRenderPass* pass, scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create(); quad->SetNew(sharedState, rect, color); SolidColorDrawQuad* quadPtr = quad.get(); - quadSink.append(quad.PassAs<DrawQuad>(), data); + quadSink.append(quad.PassAs<DrawQuad>(), &data); return quadPtr; } @@ -52,7 +52,7 @@ SolidColorDrawQuad* addClippedQuad(TestRenderPass* pass, scoped_ptr<SolidColorDrawQuad> quad = SolidColorDrawQuad::Create(); quad->SetNew(sharedState, rect, color); SolidColorDrawQuad* quadPtr = quad.get(); - quadSink.append(quad.PassAs<DrawQuad>(), data); + quadSink.append(quad.PassAs<DrawQuad>(), &data); return quadPtr; } @@ -68,7 +68,7 @@ void addRenderPassQuad(TestRenderPass* toPass, quad->SetNew(sharedState, outputRect, contributingPass->id, false, 0, outputRect, gfx::RectF(), WebKit::WebFilterOperations(), skia::RefPtr<SkImageFilter>(), WebKit::WebFilterOperations()); - quadSink.append(quad.PassAs<DrawQuad>(), data); + quadSink.append(quad.PassAs<DrawQuad>(), &data); } } // namespace cc |