diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-09 13:49:45 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-09 13:49:45 -0800 |
commit | 37e4a11e58257b757bec2700bc53facc59d0b845 (patch) | |
tree | e60dec1865ac168e7fdd2f619432fb0d8f8dfeff /core | |
parent | 94a4956f7aadc10fe6dd8451e965bd7447985b76 (diff) | |
download | pdfium-37e4a11e58257b757bec2700bc53facc59d0b845.tar.xz |
Remove dead code in fx_codec_jbig_enc.cpp.
R=weili@chromium.org
Review URL: https://codereview.chromium.org/1420693004 .
Diffstat (limited to 'core')
-rw-r--r-- | core/include/fxcodec/fx_codec.h | 2 | ||||
-rw-r--r-- | core/src/fxcodec/codec/fx_codec_jbig_enc.cpp | 10 |
2 files changed, 1 insertions, 11 deletions
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; -} |