| Index: base/task.h
|
| diff --git a/base/task.h b/base/task.h
|
| index b21ccd8bae21e5764e4785e74e1c0ac0d87ed443..1949e74fb89e6648e4acb2f4ea8a6db155968c07 100644
|
| --- a/base/task.h
|
| +++ b/base/task.h
|
| @@ -149,8 +149,9 @@ class ScopedRunnableMethodFactory {
|
| : obj_(obj),
|
| meth_(meth),
|
| params_(params) {
|
| - COMPILE_ASSERT((MethodUsesScopedRefptrCorrectly<Method, Params>::value),
|
| - badscopedrunnablemethodparams);
|
| + COMPILE_ASSERT(
|
| + (base::internal::ParamsUseScopedRefptrCorrectly<Params>::value),
|
| + badscopedrunnablemethodparams);
|
| }
|
|
|
| virtual void Run() {
|
| @@ -317,8 +318,9 @@ class RunnableMethod : public CancelableTask {
|
| RunnableMethod(T* obj, Method meth, const Params& params)
|
| : obj_(obj), meth_(meth), params_(params) {
|
| traits_.RetainCallee(obj_);
|
| - COMPILE_ASSERT((MethodUsesScopedRefptrCorrectly<Method, Params>::value),
|
| - badrunnablemethodparams);
|
| + COMPILE_ASSERT(
|
| + (base::internal::ParamsUseScopedRefptrCorrectly<Params>::value),
|
| + badrunnablemethodparams);
|
| }
|
|
|
| ~RunnableMethod() {
|
| @@ -429,8 +431,9 @@ class RunnableFunction : public CancelableTask {
|
| public:
|
| RunnableFunction(Function function, const Params& params)
|
| : function_(function), params_(params) {
|
| - COMPILE_ASSERT((FunctionUsesScopedRefptrCorrectly<Function, Params>::value),
|
| - badrunnablefunctionparams);
|
| + COMPILE_ASSERT(
|
| + (base::internal::ParamsUseScopedRefptrCorrectly<Params>::value),
|
| + badrunnablefunctionparams);
|
| }
|
|
|
| ~RunnableFunction() {
|
|
|