summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/tuple.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/base/tuple.h b/base/tuple.h
index bfe6562..6b0d336 100644
--- a/base/tuple.h
+++ b/base/tuple.h
@@ -30,6 +30,10 @@
#define BASE_TUPLE_H__
#pragma once
+#if defined(OS_CHROMEOS)
+// To troubleshoot crosbug.com/7327.
+#include "base/logging.h"
+#endif
// Traits ----------------------------------------------------------------------
//
// A simple traits class for tuple arguments.
@@ -545,7 +549,7 @@ inline void DispatchToMethod(ObjT* obj, Method method, const A& arg) {
template <class ObjT, class Method, class A>
inline void DispatchToMethod(ObjT* obj, Method method, const Tuple1<A>& arg) {
-#if defined(OS_CHROMEOS) && defined(CHECK)
+#if defined(OS_CHROMEOS)
// To troubleshoot crosbug.com/7327.
CHECK(obj);
CHECK(&arg);