[gjs: 8/12] context: Update obsolete comment




commit 0af3b415e102e6423bae4b8bfb1b8c12745e232b
Author: Philip Chimento <philip chimento gmail com>
Date:   Thu Feb 18 22:21:21 2021 -0800

    context: Update obsolete comment

 gjs/context.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gjs/context.cpp b/gjs/context.cpp
index 04ff4de2..443355a1 100644
--- a/gjs/context.cpp
+++ b/gjs/context.cpp
@@ -780,7 +780,7 @@ JSObject* GjsContextPrivate::getIncumbentGlobal(JSContext* cx) {
     return JS::CurrentGlobalOrNull(cx);
 }
 
-/* See engine.cpp and JS::SetEnqueuePromiseJobCallback(). */
+// See engine.cpp and JS::SetJobQueue().
 bool GjsContextPrivate::enqueuePromiseJob(
     JSContext* cx [[maybe_unused]], JS::HandleObject promise [[maybe_unused]],
     JS::HandleObject job, JS::HandleObject allocation_site [[maybe_unused]],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]