| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index c01034a3b6799113ee3cbbffe4380705d3a09a2e..a0091adadd3aa2529a63011571710ebed6dff9c2 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -15227,9 +15227,8 @@ error::Error GLES2DecoderImpl::HandleProgramPathFragmentInputGenCHROMIUM(
|
| }
|
|
|
| GLint location = static_cast<GLint>(c.location);
|
| - if (location == -1) {
|
| + if (program->IsInactiveFragmentInputLocationByFakeLocation(location))
|
| return error::kNoError;
|
| - }
|
|
|
| const Program::FragmentInputInfo* fragment_input_info =
|
| program->GetFragmentInputInfoByFakeLocation(location);
|
|
|