summaryrefslogtreecommitdiff
path: root/deps/v8/src/base/once.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/base/once.h')
-rw-r--r--deps/v8/src/base/once.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/base/once.h b/deps/v8/src/base/once.h
index 8008812d75..ea9c2fa88d 100644
--- a/deps/v8/src/base/once.h
+++ b/deps/v8/src/base/once.h
@@ -85,7 +85,8 @@ V8_BASE_EXPORT void CallOnceImpl(OnceType* once, PointerArgFunction init_func,
inline void CallOnce(OnceType* once, NoArgFunction init_func) {
if (Acquire_Load(once) != ONCE_STATE_DONE) {
- CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func), NULL);
+ CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func),
+ nullptr);
}
}