Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Unified Diff: gpu/command_buffer/common/cmd_buffer_common.cc

Issue 298023004: [PPAPI] Compositor API implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor_api_def_new
Patch Set: Fix build issue on windowswq Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698