summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/bindata.cpp
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2019-01-29 23:16:33 +0000
committerGabriel Russell <gabriel.russell@mongodb.com>2019-01-29 23:16:33 +0000
commit254fff93270089e8ac33be3f7e079aa8bfc3f7bc (patch)
treeef7f69b2cacc081a16b4da1b58c327f29ae0b8b4 /src/mongo/scripting/mozjs/bindata.cpp
parenta3d232b697dfc7c8833fc1855abbc190fe0d5970 (diff)
downloadmongo-254fff93270089e8ac33be3f7e079aa8bfc3f7bc.tar.gz
Revert "SERVER-29286 import and use mozjs-60"
This reverts commit a3d232b697dfc7c8833fc1855abbc190fe0d5970.
Diffstat (limited to 'src/mongo/scripting/mozjs/bindata.cpp')
-rw-r--r--src/mongo/scripting/mozjs/bindata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/bindata.cpp b/src/mongo/scripting/mozjs/bindata.cpp
index 91d81182204..ddf5df2ba1d 100644
--- a/src/mongo/scripting/mozjs/bindata.cpp
+++ b/src/mongo/scripting/mozjs/bindata.cpp
@@ -109,7 +109,7 @@ std::string* getEncoded(JSObject* thisv) {
} // namespace
-void BinDataInfo::finalize(js::FreeOp* fop, JSObject* obj) {
+void BinDataInfo::finalize(JSFreeOp* fop, JSObject* obj) {
auto str = getEncoded(obj);
if (str) {