| Index: cc/test/render_pass_test_common.cc
|
| diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
|
| index b66ca4fddc971a088a688bb7796abc9aadb25a7a..065f59344b536e291811b24f6d96e388054d8e88 100644
|
| --- a/cc/test/render_pass_test_common.cc
|
| +++ b/cc/test/render_pass_test_common.cc
|
| @@ -29,6 +29,7 @@ void TestRenderPass::AppendOneOfEveryQuadType(
|
| gfx::Size(20, 12),
|
| resourceProvider->bestTextureFormat(),
|
| ResourceProvider::TextureUsageAny);
|
| + resourceProvider->allocateForTesting(texture_resource);
|
| unsigned texture_id = ResourceProvider::ScopedReadLockGL(
|
| resourceProvider, texture_resource).textureId();
|
|
|
| @@ -163,6 +164,7 @@ void TestRenderPass::AppendOneOfEveryQuadType(
|
| gfx::Size(20, 12),
|
| resourceProvider->bestTextureFormat(),
|
| ResourceProvider::TextureUsageAny);
|
| + resourceProvider->allocateForTesting(planes[i].resourceId);
|
| planes[i].size = gfx::Size(100, 100);
|
| planes[i].format = GL_LUMINANCE;
|
| }
|
|
|