summaryrefslogtreecommitdiffstats
path: root/cc/test/render_pass_test_common.cc
diff options
context:
space:
mode:
authordalecurtis@google.com <dalecurtis@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 16:34:35 +0000
committerdalecurtis@google.com <dalecurtis@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-06 16:34:35 +0000
commitf35b9a53d6d8c58d4514a44e573b5463474d430f (patch)
treeb3c4b01f67c8f8a5c0862d2520554c12d5243b21 /cc/test/render_pass_test_common.cc
parent7abc0d6706feb5861ee853ccdc45105c340c6dfc (diff)
downloadchromium_src-f35b9a53d6d8c58d4514a44e573b5463474d430f.zip
chromium_src-f35b9a53d6d8c58d4514a44e573b5463474d430f.tar.gz
chromium_src-f35b9a53d6d8c58d4514a44e573b5463474d430f.tar.bz2
Revert 204508 "Adding YUVA support for enabling Alpha Playback"
> Adding YUVA support for enabling Alpha Playback > > BUG=147355 > > Review URL: https://chromiumcodereview.appspot.com/12157002 Failing linux_asan with SEGV and heap buffer overflow errors: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASAN%20Tests%20%283%29/builds/9750 TBR=vigneshv@chromium.org Review URL: https://codereview.chromium.org/16564004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/render_pass_test_common.cc')
-rw-r--r--cc/test/render_pass_test_common.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/cc/test/render_pass_test_common.cc b/cc/test/render_pass_test_common.cc
index fc98001..9818603 100644
--- a/cc/test/render_pass_test_common.cc
+++ b/cc/test/render_pass_test_common.cc
@@ -207,8 +207,8 @@ void TestRenderPass::AppendOneOfEveryQuadType(
false);
AppendQuad(tile_quad.PassAs<DrawQuad>());
- ResourceProvider::ResourceId plane_resources[4];
- for (int i = 0; i < 4; ++i) {
+ ResourceProvider::ResourceId plane_resources[3];
+ for (int i = 0; i < 3; ++i) {
plane_resources[i] =
resource_provider->CreateResource(
gfx::Size(20, 12),
@@ -224,8 +224,7 @@ void TestRenderPass::AppendOneOfEveryQuadType(
gfx::Size(100, 100),
plane_resources[0],
plane_resources[1],
- plane_resources[2],
- plane_resources[3]);
+ plane_resources[2]);
AppendQuad(yuv_quad.PassAs<DrawQuad>());
AppendSharedQuadState(transformed_state.Pass());