| Index: gpu/command_buffer/build_gles2_cmd_buffer.py
|
| diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| index af2381319b7cd6ca097c5f23da9f706bb562cd8a..a4fcc70c275f9df51905a8eab681e4019a5f7159 100755
|
| --- a/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| @@ -4419,7 +4419,7 @@ class StateSetHandler(TypeHandler):
|
| # Make this behavior consistent within Chromium, and avoid leaking GL
|
| # errors by generating the error in the command buffer instead of
|
| # letting the GL driver generate it.
|
| - code.append("base::IsNaN(%s)" % args[ndx].name)
|
| + code.append("std::isnan(%s)" % args[ndx].name)
|
| if len(code):
|
| file.Write(" if (%s) {\n" % " ||\n ".join(code))
|
| file.Write(
|
|
|