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 040703352c1b382c0f0e3ec2fe58a064582b045b..b1e5aa9a6c8f76df59cde238f50fe8e0053ee2e7 100755 |
--- a/gpu/command_buffer/build_gles2_cmd_buffer.py |
+++ b/gpu/command_buffer/build_gles2_cmd_buffer.py |
@@ -4409,7 +4409,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( |