diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 09:55:35 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-15 09:55:35 +0000 |
commit | 792cdcf7efe2cdaec24ec62865aa988afb18d0b2 (patch) | |
tree | b847a4eb6ca593df63863a87cdef36d50528dffb /base/callback.h | |
parent | f258ba2e2403ada7c5c72fb9950637ddea86a014 (diff) | |
download | chromium_src-792cdcf7efe2cdaec24ec62865aa988afb18d0b2.zip chromium_src-792cdcf7efe2cdaec24ec62865aa988afb18d0b2.tar.gz chromium_src-792cdcf7efe2cdaec24ec62865aa988afb18d0b2.tar.bz2 |
Take 3: Reland 69237 - Fix raw_scoped_refptr_mismatch_checker.h."
If this one fails, I'm just reverting and calling it quits for tonight.
BUG=28083
TEST=builds
Review URL: http://codereview.chromium.org/5844002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/callback.h')
-rw-r--r-- | base/callback.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/callback.h b/base/callback.h index 7f2eb70..e5ea771 100644 --- a/base/callback.h +++ b/base/callback.h @@ -206,8 +206,9 @@ template <class T, class Method, class Params> class UnboundMethod { public: UnboundMethod(Method m, const Params& p) : m_(m), p_(p) { - COMPILE_ASSERT((MethodUsesScopedRefptrCorrectly<Method, Params>::value), - badunboundmethodparams); + COMPILE_ASSERT( + (base::internal::ParamsUseScopedRefptrCorrectly<Params>::value), + badunboundmethodparams); } void Run(T* obj) const { DispatchToMethod(obj, m_, p_); |