| 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 1bac9886d1443029a884720f26f8a4fce7fb17e1..587ab63aea002221d47331374ad2e1f7039d0e0f 100755
|
| --- a/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| @@ -4410,7 +4410,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(
|
|
|