summaryrefslogtreecommitdiff
path: root/base/threading/thread_restrictions.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/threading/thread_restrictions.h')
-rw-r--r--base/threading/thread_restrictions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index ad8b4ba629..8f3beb1d1a 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -228,7 +228,7 @@ class BASE_EXPORT ThreadRestrictions {
#if DCHECK_IS_ON()
static bool SetWaitAllowed(bool allowed);
#else
- static bool SetWaitAllowed(bool) { return true; }
+ static bool SetWaitAllowed(bool allowed) { return true; }
#endif
// Constructing a ScopedAllowWait temporarily allows waiting on the current