Merge to XFA: Remove unused nParamNum values from JS method tables.
[pdfium.git] / fpdfsdk / src / javascript / global.cpp
index b778239..ac77f8e 100644 (file)
@@ -92,7 +92,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);