Index: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
index 9a27c2f9f4f048ccd4e29aab08ae439196cb3919..18b280865b86c74908922e10c0bf675bf32fe7b1 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
@@ -2215,7 +2215,7 @@ error::Error GLES2DecoderImpl::HandleLineWidth(uint32_t immediate_data_size, |
*static_cast<const gles2::cmds::LineWidth*>(cmd_data); |
(void)c; |
GLfloat width = static_cast<GLfloat>(c.width); |
- if (width <= 0.0f || base::IsNaN(width)) { |
+ if (width <= 0.0f || std::isnan(width)) { |
LOCAL_SET_GL_ERROR(GL_INVALID_VALUE, "LineWidth", "width out of range"); |
return error::kNoError; |
} |