| Index: gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| index c491a7617816b3de5d6e90a4216d29e440c24db7..33b4eda5be9178b189a39205193d8b61d72f7653 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| @@ -3721,7 +3721,7 @@ TEST_F(GLES2ImplementationTest, Enable) {
|
| TEST_F(GLES2ImplementationTest, ConsumeTextureCHROMIUM) {
|
| struct Cmds {
|
| cmds::ConsumeTextureCHROMIUMImmediate cmd;
|
| - GLbyte data[64];
|
| + GLbyte data[GL_MAILBOX_SIZE_CHROMIUM];
|
| };
|
|
|
| Mailbox mailbox = Mailbox::Generate();
|
| @@ -3734,7 +3734,7 @@ TEST_F(GLES2ImplementationTest, ConsumeTextureCHROMIUM) {
|
| TEST_F(GLES2ImplementationTest, CreateAndConsumeTextureCHROMIUM) {
|
| struct Cmds {
|
| cmds::CreateAndConsumeTextureINTERNALImmediate cmd;
|
| - GLbyte data[64];
|
| + GLbyte data[GL_MAILBOX_SIZE_CHROMIUM];
|
| };
|
|
|
| Mailbox mailbox = Mailbox::Generate();
|
| @@ -3748,7 +3748,7 @@ TEST_F(GLES2ImplementationTest, CreateAndConsumeTextureCHROMIUM) {
|
| TEST_F(GLES2ImplementationTest, ProduceTextureCHROMIUM) {
|
| struct Cmds {
|
| cmds::ProduceTextureCHROMIUMImmediate cmd;
|
| - GLbyte data[64];
|
| + GLbyte data[GL_MAILBOX_SIZE_CHROMIUM];
|
| };
|
|
|
| Mailbox mailbox = Mailbox::Generate();
|
| @@ -3761,7 +3761,7 @@ TEST_F(GLES2ImplementationTest, ProduceTextureCHROMIUM) {
|
| TEST_F(GLES2ImplementationTest, ProduceTextureDirectCHROMIUM) {
|
| struct Cmds {
|
| cmds::ProduceTextureDirectCHROMIUMImmediate cmd;
|
| - GLbyte data[64];
|
| + GLbyte data[GL_MAILBOX_SIZE_CHROMIUM];
|
| };
|
|
|
| Mailbox mailbox = Mailbox::Generate();
|
|
|