summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn1
-rw-r--r--core/include/fxcodec/fx_codec.h2
-rw-r--r--core/src/fxcodec/codec/fx_codec_jbig_enc.cpp10
-rw-r--r--pdfium.gyp1
4 files changed, 1 insertions, 13 deletions
diff --git a/BUILD.gn b/BUILD.gn
index aaa2c75538..a362d4bd71 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -371,7 +371,6 @@ static_library("fxcodec") {
"core/src/fxcodec/codec/fx_codec_flate.cpp",
"core/src/fxcodec/codec/fx_codec_icc.cpp",
"core/src/fxcodec/codec/fx_codec_jbig.cpp",
- "core/src/fxcodec/codec/fx_codec_jbig_enc.cpp",
"core/src/fxcodec/codec/fx_codec_jpeg.cpp",
"core/src/fxcodec/codec/fx_codec_jpx_opj.cpp",
"core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h
index d8c66d9d65..7eec175c89 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -31,7 +31,7 @@ class ICodec_ScanlineDecoder;
class CCodec_ModuleMgr {
public:
CCodec_ModuleMgr();
- ICodec_Jbig2Encoder* CreateJbig2Encoder();
+
ICodec_BasicModule* GetBasicModule() const { return m_pBasicModule.get(); }
ICodec_FaxModule* GetFaxModule() const { return m_pFaxModule.get(); }
ICodec_JpegModule* GetJpegModule() const { return m_pJpegModule.get(); }
diff --git a/core/src/fxcodec/codec/fx_codec_jbig_enc.cpp b/core/src/fxcodec/codec/fx_codec_jbig_enc.cpp
deleted file mode 100644
index 38c82fdc11..0000000000
--- a/core/src/fxcodec/codec/fx_codec_jbig_enc.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#include "../../../include/fxcodec/fx_codec.h"
-ICodec_Jbig2Encoder* CCodec_ModuleMgr::CreateJbig2Encoder() {
- return NULL;
-}
diff --git a/pdfium.gyp b/pdfium.gyp
index 0fd3a519f9..33eacd04bb 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -349,7 +349,6 @@
'core/src/fxcodec/codec/fx_codec_flate.cpp',
'core/src/fxcodec/codec/fx_codec_icc.cpp',
'core/src/fxcodec/codec/fx_codec_jbig.cpp',
- 'core/src/fxcodec/codec/fx_codec_jbig_enc.cpp',
'core/src/fxcodec/codec/fx_codec_jpeg.cpp',
'core/src/fxcodec/codec/fx_codec_jpx_opj.cpp',
'core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp',