Merge to XFA: Remove unused nParamNum values from JS method tables.
[pdfium.git] / fpdfsdk / src / javascript / color.cpp
index ddf6ed4..7f36be0 100644 (file)
@@ -45,8 +45,8 @@ BEGIN_JS_STATIC_PROP(CJS_Color)
 END_JS_STATIC_PROP()
 
 BEGIN_JS_STATIC_METHOD(CJS_Color)
-       JS_STATIC_METHOD_ENTRY(convert, 2)
-       JS_STATIC_METHOD_ENTRY(equal, 2)
+       JS_STATIC_METHOD_ENTRY(convert)
+       JS_STATIC_METHOD_ENTRY(equal)
 END_JS_STATIC_METHOD()
 
 IMPLEMENT_JS_CLASS(CJS_Color,color)