Index: gpu/command_buffer/common/cmd_buffer_common.cc |
diff --git a/gpu/command_buffer/common/cmd_buffer_common.cc b/gpu/command_buffer/common/cmd_buffer_common.cc |
index 80a1e16dc3cf0f383fd89c0f383a54d7cf310506..f337e86dbf735548b0fab88033a43383d4c7f15a 100644 |
--- a/gpu/command_buffer/common/cmd_buffer_common.cc |
+++ b/gpu/command_buffer/common/cmd_buffer_common.cc |
@@ -31,6 +31,7 @@ const char* GetCommandName(CommandId command_id) { |
} // namespace cmd |
+#if !defined(NACL_WIN64) |
// TODO(apatrick): this is a temporary optimization while skia is calling |
// RendererGLContext::MakeCurrent prior to every GL call. It saves returning 6 |
// ints redundantly when only the error is needed for the CommandBufferProxy |
@@ -38,6 +39,7 @@ const char* GetCommandName(CommandId command_id) { |
error::Error CommandBuffer::GetLastError() { |
return GetLastState().error; |
} |
+#endif |
} // namespace gpu |