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:10:43 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 09:10:43 +0000
commit968ca7b38235bdcae6ec82173e1fe01bcf248eb1 (patch)
tree8bb031c8175f9207e451b1edc0b2fb661925c239 /base/callback.h
parentca3a0d33d8d57523a2e499fbf4476a3bf13df59c (diff)
downloadchromium_src-968ca7b38235bdcae6ec82173e1fe01bcf248eb1.zip
chromium_src-968ca7b38235bdcae6ec82173e1fe01bcf248eb1.tar.gz
chromium_src-968ca7b38235bdcae6ec82173e1fe01bcf248eb1.tar.bz2
Reland 69237 - Fix raw_scoped_refptr_mismatch_checker.h.
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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69243 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/callback.h')
-rw-r--r--base/callback.h5
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_);