Index: gpu/command_buffer/service/program_manager_unittest.cc |
diff --git a/gpu/command_buffer/service/program_manager_unittest.cc b/gpu/command_buffer/service/program_manager_unittest.cc |
index 60f652f402110192c0aaf0496ab0547805891aab..c58cda1d0a0899530a44335d6175ce4aa06248a1 100644 |
--- a/gpu/command_buffer/service/program_manager_unittest.cc |
+++ b/gpu/command_buffer/service/program_manager_unittest.cc |
@@ -857,7 +857,7 @@ TEST_F(ProgramManagerWithShaderTest, ProgramInfoGetProgramInfo) { |
EXPECT_EQ(arraysize(kUniforms), header->num_uniforms); |
const ProgramInput* inputs = bucket.GetDataAs<const ProgramInput*>( |
sizeof(*header), |
- sizeof(ProgramInput) * (header->num_attribs + header->num_attribs)); |
+ sizeof(ProgramInput) * (header->num_attribs + header->num_uniforms)); |
ASSERT_TRUE(inputs != NULL); |
const ProgramInput* input = inputs; |
// TODO(gman): Don't assume these are in order. |