From 007daeb3fbd9ace2c1cbdf85d0fa98ebfa00163c Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 29 Oct 2018 20:55:28 +0000 Subject: Remove ctors from CJS_ objects which cant be instantiated. Because they only provide constants. Change-Id: I79cdc78b4d0c1d6e8d6276b4ce7bb301755802c9 Reviewed-on: https://pdfium-review.googlesource.com/c/44791 Reviewed-by: Lei Zhang Commit-Queue: Tom Sepez --- fxjs/cjs_highlight.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'fxjs/cjs_highlight.cpp') diff --git a/fxjs/cjs_highlight.cpp b/fxjs/cjs_highlight.cpp index 5c95281875..4ada397cc3 100644 --- a/fxjs/cjs_highlight.cpp +++ b/fxjs/cjs_highlight.cpp @@ -20,9 +20,3 @@ void CJS_Highlight::DefineJSObjects(CFXJS_Engine* pEngine) { pEngine->DefineObj("highlight", FXJSOBJTYPE_STATIC, nullptr, nullptr); DefineConsts(pEngine, ObjDefnID, ConstSpecs); } - -CJS_Highlight::CJS_Highlight(v8::Local pObject, - CJS_Runtime* pRuntime) - : CJS_Object(pObject, pRuntime) {} - -CJS_Highlight::~CJS_Highlight() = default; -- cgit v1.2.3