summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/proxyscope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/scripting/mozjs/proxyscope.cpp')
-rw-r--r--src/mongo/scripting/mozjs/proxyscope.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/scripting/mozjs/proxyscope.cpp b/src/mongo/scripting/mozjs/proxyscope.cpp
index cf41e84091c..2b9db2045c2 100644
--- a/src/mongo/scripting/mozjs/proxyscope.cpp
+++ b/src/mongo/scripting/mozjs/proxyscope.cpp
@@ -85,16 +85,16 @@ bool MozJSProxyScope::isKillPending() const {
return _implScope->isKillPending();
}
-void MozJSProxyScope::registerOperation(OperationContext* txn) {
- run([&] { _implScope->registerOperation(txn); });
+void MozJSProxyScope::registerOperation(OperationContext* opCtx) {
+ run([&] { _implScope->registerOperation(opCtx); });
}
void MozJSProxyScope::unregisterOperation() {
run([&] { _implScope->unregisterOperation(); });
}
-void MozJSProxyScope::localConnectForDbEval(OperationContext* txn, const char* dbName) {
- run([&] { _implScope->localConnectForDbEval(txn, dbName); });
+void MozJSProxyScope::localConnectForDbEval(OperationContext* opCtx, const char* dbName) {
+ run([&] { _implScope->localConnectForDbEval(opCtx, dbName); });
}
void MozJSProxyScope::externalSetup() {