diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 23:47:56 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-10 23:47:56 +0000 |
commit | d0b2afe6eeae8b04bc2b21b6503a2aaa5c9b38ab (patch) | |
tree | e93eb2ccaf954b599eec79cd5e84252e86c1c94f /base/tuple.h | |
parent | d5f8c9c361f2bc2eb61b4857ad850884d637e224 (diff) | |
download | chromium_src-d0b2afe6eeae8b04bc2b21b6503a2aaa5c9b38ab.zip chromium_src-d0b2afe6eeae8b04bc2b21b6503a2aaa5c9b38ab.tar.gz chromium_src-d0b2afe6eeae8b04bc2b21b6503a2aaa5c9b38ab.tar.bz2 |
Adding CHECKs to troubleshoot the crash issue intuple.h/browser_render_process_host.cc (see bug description)
This is chromeos only and will be removed once I correct data.
BUG=chromium-os:7327
TEST=none
Review URL: http://codereview.chromium.org/4752003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tuple.h')
-rw-r--r-- | base/tuple.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/tuple.h b/base/tuple.h index b67d924..bfe6562 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); } |