| Index: cc/layer_tree_host_impl_unittest.cc
|
| diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc
|
| index 11d3b0bfb4c1cc0a0131d7017d79a7ac265bd4ff..026faba5badc5e874a0696f61d5a87afd1226b95 100644
|
| --- a/cc/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/layer_tree_host_impl_unittest.cc
|
| @@ -2695,7 +2695,8 @@ static inline scoped_ptr<RenderPass> createRenderPassWithResource(ResourceProvid
|
| ResourceProvider::ResourceId resourceId = provider->createResource(0, gfx::Size(1, 1), GL_RGBA, ResourceProvider::TextureUsageAny);
|
|
|
| scoped_ptr<TestRenderPass> pass = TestRenderPass::create(RenderPass::Id(1, 1), gfx::Rect(0, 0, 1, 1), WebTransformationMatrix());
|
| - scoped_ptr<SharedQuadState> sharedState = SharedQuadState::create(WebTransformationMatrix(), gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1), 1);
|
| + scoped_ptr<SharedQuadState> sharedState = SharedQuadState::Create();
|
| + sharedState->SetAll(WebTransformationMatrix(), gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1), 1);
|
| scoped_ptr<TextureDrawQuad> quad = TextureDrawQuad::Create();
|
| quad->SetNew(sharedState.get(), gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1), resourceId, false, gfx::RectF(0, 0, 1, 1), false);
|
|
|
| @@ -4169,7 +4170,8 @@ static void configureRenderPassTestData(const char* testScript, RenderPassRemova
|
| renderer->clearCachedTextures();
|
|
|
| // One shared state for all quads - we don't need the correct details
|
| - testData.sharedQuadState = SharedQuadState::create(WebTransformationMatrix(), gfx::Rect(), gfx::Rect(), 1.0);
|
| + testData.sharedQuadState = SharedQuadState::Create();
|
| + testData.sharedQuadState->SetAll(WebTransformationMatrix(), gfx::Rect(), gfx::Rect(), 1.0);
|
|
|
| const char* currentChar = testScript;
|
|
|
|
|