| Index: gpu/command_buffer/service/program_manager_unittest.cc
|
| ===================================================================
|
| --- gpu/command_buffer/service/program_manager_unittest.cc (revision 45593)
|
| +++ gpu/command_buffer/service/program_manager_unittest.cc (working copy)
|
| @@ -416,8 +416,9 @@
|
| EXPECT_EQ(2, value);
|
| // Check that our max length adds room for the array spec and is not as long
|
| // as the "gl_" uniform we skipped.
|
| + // +4u is to account for "gl_" and NULL terminator.
|
| program_info->GetProgramiv(GL_ACTIVE_UNIFORM_MAX_LENGTH, &value);
|
| - EXPECT_EQ(strlen(kUniform3Name) + 3u, static_cast<size_t>(value));
|
| + EXPECT_EQ(strlen(kUniform3Name) + 4u, static_cast<size_t>(value));
|
| }
|
|
|
| } // namespace gles2
|
|
|