diff options
Diffstat (limited to 'chromium/gpu/command_buffer/common/cmd_buffer_common.cc')
-rw-r--r-- | chromium/gpu/command_buffer/common/cmd_buffer_common.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chromium/gpu/command_buffer/common/cmd_buffer_common.cc b/chromium/gpu/command_buffer/common/cmd_buffer_common.cc index 80a1e16dc3c..f337e86dbf7 100644 --- a/chromium/gpu/command_buffer/common/cmd_buffer_common.cc +++ b/chromium/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 |