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

Unified Diff: ui/gfx/gl/gl_bindings.h

Issue 8872001: Refactor generete_bindings.py so per function logging code and be added. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GPU_ -> GL_ Created 9 years 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
« no previous file with comments | « ui/gfx/gl/generate_bindings.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_bindings.h
diff --git a/ui/gfx/gl/gl_bindings.h b/ui/gfx/gl/gl_bindings.h
index 7987fd83d190f3523d877681c815d8602e5207a1..6d947caca6932221123f783d6836a28ea0d995dd 100644
--- a/ui/gfx/gl/gl_bindings.h
+++ b/ui/gfx/gl/gl_bindings.h
@@ -41,6 +41,11 @@
#endif
#define GL_SERVICE_LOG(args) DLOG(INFO) << args;
+#if !defined(NDEBUG)
+ #define GL_SERVICE_LOG_CODE_BLOCK(code)
+#else
+ #define GL_SERVICE_LOG_CODE_BLOCK(code) code
+#endif
// Forward declare OSMesa types.
typedef struct osmesa_context *OSMesaContext;
« no previous file with comments | « ui/gfx/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698