summaryrefslogtreecommitdiff
path: root/fxjs/cjs_printparamsobj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_printparamsobj.cpp')
-rw-r--r--fxjs/cjs_printparamsobj.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/fxjs/cjs_printparamsobj.cpp b/fxjs/cjs_printparamsobj.cpp
index 91d02201b1..b85925de44 100644
--- a/fxjs/cjs_printparamsobj.cpp
+++ b/fxjs/cjs_printparamsobj.cpp
@@ -21,18 +21,6 @@ void CJS_PrintParamsObj::DefineJSObjects(CFXJS_Engine* pEngine) {
}
CJS_PrintParamsObj::CJS_PrintParamsObj(v8::Local<v8::Object> pObject)
- : CJS_Object(pObject) {
- m_pEmbedObj = pdfium::MakeUnique<PrintParamsObj>(this);
-}
+ : CJS_Object(pObject) {}
-PrintParamsObj::PrintParamsObj(CJS_Object* pJSObject)
- : CJS_EmbedObj(pJSObject) {
- bUI = true;
- nStart = 0;
- nEnd = 0;
- bSilent = false;
- bShrinkToFit = false;
- bPrintAsImage = false;
- bReverse = false;
- bAnnotations = true;
-}
+CJS_PrintParamsObj::~CJS_PrintParamsObj() = default;