Index: gpu/command_buffer/service/program_manager.cc |
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc |
index b1167b6969693e0ad4c4d20fc0b76b2ccbd6fbb2..4fe76dba1057c6bdc63010a1f59a15e2da2dfcf5 100644 |
--- a/gpu/command_buffer/service/program_manager.cc |
+++ b/gpu/command_buffer/service/program_manager.cc |
@@ -841,7 +841,8 @@ void Program::GetCorrectedUniformData( |
found = uniform->findInfoByMappedName(name, &info, original_name); |
if (found) { |
const std::string kArraySpec("[0]"); |
- if (info->arraySize > 0 && !base::EndsWith(name, kArraySpec, true)) { |
+ if (info->arraySize > 0 && |
+ !base::EndsWith(name, kArraySpec, base::CompareCase::SENSITIVE)) { |
*corrected_name = name + kArraySpec; |
*original_name += kArraySpec; |
} else { |