diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-29 20:55:28 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-29 20:55:28 +0000 |
commit | 007daeb3fbd9ace2c1cbdf85d0fa98ebfa00163c (patch) | |
tree | b27770ad22c77230105bfb2dec93c72e2ab5fc57 /fxjs/cjs_font.cpp | |
parent | 2a5c694ead001e072b2e243e79f17f296d18c898 (diff) | |
download | pdfium-007daeb3fbd9ace2c1cbdf85d0fa98ebfa00163c.tar.xz |
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 <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_font.cpp')
-rw-r--r-- | fxjs/cjs_font.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fxjs/cjs_font.cpp b/fxjs/cjs_font.cpp index 8594da7242..0e6e94bed8 100644 --- a/fxjs/cjs_font.cpp +++ b/fxjs/cjs_font.cpp @@ -29,8 +29,3 @@ void CJS_Font::DefineJSObjects(CFXJS_Engine* pEngine) { ObjDefnID = pEngine->DefineObj("font", FXJSOBJTYPE_STATIC, nullptr, nullptr); DefineConsts(pEngine, ObjDefnID, ConstSpecs); } - -CJS_Font::CJS_Font(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime) - : CJS_Object(pObject, pRuntime) {} - -CJS_Font::~CJS_Font() = default; |