summaryrefslogtreecommitdiff
path: root/chromium/ui/gl/gl_bindings.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gl/gl_bindings.h')
-rw-r--r--chromium/ui/gl/gl_bindings.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/ui/gl/gl_bindings.h b/chromium/ui/gl/gl_bindings.h
index dd756620a91..3524f41b40e 100644
--- a/chromium/ui/gl/gl_bindings.h
+++ b/chromium/ui/gl/gl_bindings.h
@@ -436,11 +436,12 @@
#define GL_BINDING_CALL
#endif
+#if defined(NDEBUG) && !defined(GPU_ENABLE_SERVICE_LOGGING)
#define GL_SERVICE_LOG(args) DLOG(INFO) << args;
-#if defined(NDEBUG)
- #define GL_SERVICE_LOG_CODE_BLOCK(code)
+#define GL_SERVICE_LOG_CODE_BLOCK(code)
#else
- #define GL_SERVICE_LOG_CODE_BLOCK(code) code
+#define GL_SERVICE_LOG(args) LOG(INFO) << args;
+#define GL_SERVICE_LOG_CODE_BLOCK(code) code
#endif
// ANGLE_multiview constants.