Index: fpdfsdk/src/javascript/global.cpp |
diff --git a/fpdfsdk/src/javascript/global.cpp b/fpdfsdk/src/javascript/global.cpp |
index 6b5d5e27251465fec147ed47f1ea23ef1513de2d..c3d11b0a84810d45977f0f0179134c8610e24f74 100644 |
--- a/fpdfsdk/src/javascript/global.cpp |
+++ b/fpdfsdk/src/javascript/global.cpp |
@@ -91,7 +91,7 @@ BEGIN_JS_STATIC_PROP(CJS_Global) |
END_JS_STATIC_PROP() |
BEGIN_JS_STATIC_METHOD(CJS_Global) |
- JS_STATIC_METHOD_ENTRY(setPersistent, 2) |
+ JS_STATIC_METHOD_ENTRY(setPersistent) |
END_JS_STATIC_METHOD() |
IMPLEMENT_SPECIAL_JS_CLASS(CJS_Global, global_alternate, global); |