Index: storage/browser/fileapi/task_runner_bound_observer_list.h |
diff --git a/storage/browser/fileapi/task_runner_bound_observer_list.h b/storage/browser/fileapi/task_runner_bound_observer_list.h |
index 304eccbdc9497c59955523a131fb04fdb625e07b..f389b7efbacada6ff212b4ce8656e6d400a66a45 100644 |
--- a/storage/browser/fileapi/task_runner_bound_observer_list.h |
+++ b/storage/browser/fileapi/task_runner_bound_observer_list.h |
@@ -64,9 +64,9 @@ class TaskRunnerBoundObserverList { |
// If we're already on the runner this just dispatches the method. |
template <class Method, class Params> |
void Notify(Method method, const Params& params) const { |
- COMPILE_ASSERT( |
+ static_assert( |
(base::internal::ParamsUseScopedRefptrCorrectly<Params>::value), |
- badunboundmethodparams); |
+ "bad unbound method params"); |
for (typename ObserversListMap::const_iterator it = observers_.begin(); |
it != observers_.end(); ++it) { |
if (!it->second.get() || it->second->RunsTasksOnCurrentThread()) { |