| Index: base/tuple.h
|
| diff --git a/base/tuple.h b/base/tuple.h
|
| index b67d924906aa2642cff57d9e46e8fafe0bfe4094..bfe65628af8adc6e4e2f2143b978b1907773c8b8 100644
|
| --- a/base/tuple.h
|
| +++ b/base/tuple.h
|
| @@ -544,6 +544,13 @@ 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)
|
| + // To troubleshoot crosbug.com/7327.
|
| + CHECK(obj);
|
| + CHECK(&arg);
|
| + CHECK(method);
|
| +#endif
|
| (obj->*method)(arg.a);
|
| }
|
|
|
|
|