summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_bind.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-base_bind.h')
-rw-r--r--www/chromium/files/patch-base_bind.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_bind.h b/www/chromium/files/patch-base_bind.h
new file mode 100644
index 000000000000..f2715eccde4d
--- /dev/null
+++ b/www/chromium/files/patch-base_bind.h
@@ -0,0 +1,11 @@
+--- base/bind.h.orig 2021-04-15 11:29:10 UTC
++++ base/bind.h
+@@ -313,7 +313,7 @@ inline OnceCallback<MakeUnboundRunType<Functor, Args..
+ !std::is_const<std::remove_reference_t<Functor>>()),
+ "BindOnce requires non-const rvalue for OnceCallback binding."
+ " I.e.: base::BindOnce(std::move(callback)).");
+-#if defined(OS_LINUX) || defined(OS_WIN) || \
++#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_BSD) || \
+ defined(NCTEST_BIND_ONCE_WITH_PASSED)
+ // TODO(https://crbug.com/1180750): Enable this everywhere.
+ static_assert(