summaryrefslogtreecommitdiff
path: root/fxjs/cjs_app.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-05 21:43:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-05 21:43:19 +0000
commit998fee395fc8a543968c7db3db9e3cf81dee57fc (patch)
treec11024354ed996cee5cd5d463ab050e1e2c02d5d /fxjs/cjs_app.h
parent0729be26d745e2ea713908eb9040e2be7c40c96b (diff)
downloadpdfium-998fee395fc8a543968c7db3db9e3cf81dee57fc.tar.xz
Remove the CJS_EmbedObj template param from JSConstructor.
Each of the CJS_Objects can create their CJS_EmbedObj's internally and we don't need to do it though the JSConstructor. This also removes the need for the SetEmbedObj method in CJS_Object. Change-Id: Ib0535ad922b370634fd1e622a04860a96c4f2825 Reviewed-on: https://pdfium-review.googlesource.com/25370 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/cjs_app.h')
-rw-r--r--fxjs/cjs_app.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjs_app.h b/fxjs/cjs_app.h
index 703c7052d3..33b61a017b 100644
--- a/fxjs/cjs_app.h
+++ b/fxjs/cjs_app.h
@@ -122,8 +122,8 @@ class CJS_App : public CJS_Object {
public:
static void DefineJSObjects(CFXJS_Engine* pEngine);
- explicit CJS_App(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
- ~CJS_App() override {}
+ explicit CJS_App(v8::Local<v8::Object> pObject);
+ ~CJS_App() override = default;
JS_STATIC_PROP(activeDocs, active_docs, app);
JS_STATIC_PROP(calculate, calculate, app);