| Index: gpu/command_buffer/common/gles2_cmd_utils.cc
|
| diff --git a/gpu/command_buffer/common/gles2_cmd_utils.cc b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| index 6a483f6f6afed11e3b477a2288e0e16b3ffcaafa..638245b7f6edcbad9ee578c51d3fe201ded392e9 100644
|
| --- a/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| +++ b/gpu/command_buffer/common/gles2_cmd_utils.cc
|
| @@ -791,6 +791,8 @@ bool GLES2Util::ParseUniformName(
|
| size_t* array_pos,
|
| int* element_index,
|
| bool* getting_array) {
|
| + if (name.empty())
|
| + return false;
|
| bool getting_array_location = false;
|
| size_t open_pos = std::string::npos;
|
| base::CheckedNumeric<int> index = 0;
|
|
|