From bef4d3e97bba3274add9738d6b199f7760c88f53 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 26 Oct 2017 16:49:38 -0400 Subject: Remove unneeded DefineJSObject param The second parameter to DefineJSObject is always set the same for each object type. Remove and put the value directly into the DefineObj calls. Change-Id: If939c57fe6ea3b985ab2337eb30f472c668cdc42 Reviewed-on: https://pdfium-review.googlesource.com/16911 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- fpdfsdk/javascript/cjs_font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/javascript/cjs_font.h') diff --git a/fpdfsdk/javascript/cjs_font.h b/fpdfsdk/javascript/cjs_font.h index 680a3e81a2..069410a139 100644 --- a/fpdfsdk/javascript/cjs_font.h +++ b/fpdfsdk/javascript/cjs_font.h @@ -11,7 +11,7 @@ class CJS_Font : public CJS_Object { public: - static void DefineJSObjects(CFXJS_Engine* pEngine, FXJSOBJTYPE eObjType); + static void DefineJSObjects(CFXJS_Engine* pEngine); explicit CJS_Font(v8::Local pObject) : CJS_Object(pObject) {} ~CJS_Font() override {} -- cgit v1.2.3