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

Unified Diff: ipc/param_traits_log_macros.h

Issue 997283002: Coalesce async touch move events until the ack back from render (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made changes based on comments Created 5 years, 9 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: ipc/param_traits_log_macros.h
diff --git a/ipc/param_traits_log_macros.h b/ipc/param_traits_log_macros.h
index fa50bac68bad7c55c7643f79cff8656f319aa490..509f32fd2f3dbf24b3124330366d0875e0515fa8 100644
--- a/ipc/param_traits_log_macros.h
+++ b/ipc/param_traits_log_macros.h
@@ -27,6 +27,7 @@
#define IPC_STRUCT_TRAITS_BEGIN(struct_name) \
void ParamTraits<struct_name>::Log(const param_type& p, std::string* l) { \
bool needs_comma = false; \
+ ALLOW_UNUSED_LOCAL(needs_comma); \
l->append("(");
#define IPC_STRUCT_TRAITS_MEMBER(name) \
if (needs_comma) \
« content/common/input/web_input_event_traits.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698