Index: gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
diff --git a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
index f7f90e22e1a232710d3e6e3b6361c8f6de8bc2b4..8c69a7bd5a4665092a532aec51a8b1f6b560d885 100644 |
--- a/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
+++ b/gpu/command_buffer/common/gles2_cmd_format_test_autogen.h |
@@ -4706,10 +4706,10 @@ TEST_F(GLES2FormatTest, ScheduleDCLayerSharedStateCHROMIUM) { |
TEST_F(GLES2FormatTest, ScheduleDCLayerCHROMIUM) { |
cmds::ScheduleDCLayerCHROMIUM& cmd = |
*GetBufferAs<cmds::ScheduleDCLayerCHROMIUM>(); |
- void* next_cmd = |
- cmd.Set(&cmd, static_cast<GLsizei>(11), static_cast<GLuint>(12), |
- static_cast<GLuint>(13), static_cast<GLuint>(14), |
- static_cast<GLuint>(15), static_cast<GLuint>(16)); |
+ void* next_cmd = cmd.Set(&cmd, static_cast<GLsizei>(11), |
+ static_cast<GLuint>(12), static_cast<GLuint>(13), |
+ static_cast<GLuint>(14), static_cast<GLsizei>(15), |
+ static_cast<GLuint>(16), static_cast<GLuint>(17)); |
EXPECT_EQ(static_cast<uint32_t>(cmds::ScheduleDCLayerCHROMIUM::kCmdId), |
cmd.header.command); |
EXPECT_EQ(sizeof(cmd), cmd.header.size * 4u); |
@@ -4717,8 +4717,9 @@ TEST_F(GLES2FormatTest, ScheduleDCLayerCHROMIUM) { |
EXPECT_EQ(static_cast<GLuint>(12), cmd.background_color); |
EXPECT_EQ(static_cast<GLuint>(13), cmd.edge_aa_mask); |
EXPECT_EQ(static_cast<GLuint>(14), cmd.filter); |
- EXPECT_EQ(static_cast<GLuint>(15), cmd.shm_id); |
- EXPECT_EQ(static_cast<GLuint>(16), cmd.shm_offset); |
+ EXPECT_EQ(static_cast<GLsizei>(15), cmd.color_space_size); |
+ EXPECT_EQ(static_cast<GLuint>(16), cmd.shm_id); |
+ EXPECT_EQ(static_cast<GLuint>(17), cmd.shm_offset); |
CheckBytesWrittenMatchesExpectedSize(next_cmd, sizeof(cmd)); |
} |