summaryrefslogtreecommitdiffstats
path: root/base/callback.h
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 09:31:33 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 09:31:33 +0000
commitf258ba2e2403ada7c5c72fb9950637ddea86a014 (patch)
treefe4f332f054a99bc10b9d781f0723adabd0055d8 /base/callback.h
parent968ca7b38235bdcae6ec82173e1fe01bcf248eb1 (diff)
downloadchromium_src-f258ba2e2403ada7c5c72fb9950637ddea86a014.zip
chromium_src-f258ba2e2403ada7c5c72fb9950637ddea86a014.tar.gz
chromium_src-f258ba2e2403ada7c5c72fb9950637ddea86a014.tar.bz2
Revert 69243 - Reland 69237 - Fix raw_scoped_refptr_mismatch_checker.h.
Damn, missed a unittest. BUG=28083 TEST=none Review URL: http://codereview.chromium.org/3549010 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/5885001 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/5887001 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/5888001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/callback.h')
-rw-r--r--base/callback.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/base/callback.h b/base/callback.h
index e5ea771..7f2eb70 100644
--- a/base/callback.h
+++ b/base/callback.h
@@ -206,9 +206,8 @@ template <class T, class Method, class Params>
class UnboundMethod {
public:
UnboundMethod(Method m, const Params& p) : m_(m), p_(p) {
- COMPILE_ASSERT(
- (base::internal::ParamsUseScopedRefptrCorrectly<Params>::value),
- badunboundmethodparams);
+ COMPILE_ASSERT((MethodUsesScopedRefptrCorrectly<Method, Params>::value),
+ badunboundmethodparams);
}
void Run(T* obj) const {
DispatchToMethod(obj, m_, p_);