Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: core/src/fxcodec/codec/codec_int.h

Issue 1393153002: Remove some dead code from CCodec_Jbig2Module. Variable was only ever set to false. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/src/fxcodec/codec/fx_codec_jbig.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ 7 #ifndef CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_
8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ 8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_
9 9
10 #include <limits.h> 10 #include <limits.h>
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 ~CCodec_Jbig2Context() {} 273 ~CCodec_Jbig2Context() {}
274 274
275 FX_DWORD m_width; 275 FX_DWORD m_width;
276 FX_DWORD m_height; 276 FX_DWORD m_height;
277 uint8_t* m_src_buf; 277 uint8_t* m_src_buf;
278 FX_DWORD m_src_size; 278 FX_DWORD m_src_size;
279 const uint8_t* m_global_data; 279 const uint8_t* m_global_data;
280 FX_DWORD m_global_size; 280 FX_DWORD m_global_size;
281 uint8_t* m_dest_buf; 281 uint8_t* m_dest_buf;
282 FX_DWORD m_dest_pitch; 282 FX_DWORD m_dest_pitch;
283 FX_BOOL m_bFileReader;
284 IFX_Pause* m_pPause; 283 IFX_Pause* m_pPause;
285 CJBig2_Context* m_pContext; 284 CJBig2_Context* m_pContext;
286 CJBig2_Image* m_dest_image; 285 CJBig2_Image* m_dest_image;
287 }; 286 };
288 class CCodec_Jbig2Module : public ICodec_Jbig2Module { 287 class CCodec_Jbig2Module : public ICodec_Jbig2Module {
289 public: 288 public:
290 CCodec_Jbig2Module() {} 289 CCodec_Jbig2Module() {}
291 ~CCodec_Jbig2Module() override; 290 ~CCodec_Jbig2Module() override;
292 291
293 // ICodec_Jbig2Module 292 // ICodec_Jbig2Module
(...skipping 29 matching lines...) Expand all
323 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, 322 OPJ_SIZE_T opj_read_from_memory(void* p_buffer,
324 OPJ_SIZE_T nb_bytes, 323 OPJ_SIZE_T nb_bytes,
325 void* p_user_data); 324 void* p_user_data);
326 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, 325 OPJ_SIZE_T opj_write_from_memory(void* p_buffer,
327 OPJ_SIZE_T nb_bytes, 326 OPJ_SIZE_T nb_bytes,
328 void* p_user_data); 327 void* p_user_data);
329 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); 328 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
330 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); 329 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data);
331 330
332 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ 331 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_
OLDNEW
« no previous file with comments | « no previous file | core/src/fxcodec/codec/fx_codec_jbig.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698