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

Unified Diff: core/include/fxcodec/fx_codec.h

Issue 1310603006: Cleanup dead code in CPDF_DIBSource::LoadJpxBitmap() and friends. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: no pass by ref, use override, use unique_ptr, remove dead param Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: core/include/fxcodec/fx_codec.h
diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h
index 39fd764ea9e1aa8e4eacacd23cb84e9fb94ce493..6d26f326f0a40a566924a847d889722fc7437abb 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -202,18 +202,17 @@ class ICodec_JpxModule {
virtual void* CreateDecoder(const uint8_t* src_buf,
FX_DWORD src_size,
- FX_BOOL useColorSpace = FALSE) = 0;
+ FX_BOOL useColorSpace) = 0;
virtual void GetImageInfo(void* ctx,
- FX_DWORD& width,
- FX_DWORD& height,
- FX_DWORD& codestream_nComps,
- FX_DWORD& output_nComps) = 0;
+ FX_DWORD* width,
+ FX_DWORD* height,
+ FX_DWORD* codestream_nComps,
+ FX_DWORD* output_nComps) = 0;
virtual FX_BOOL Decode(void* ctx,
uint8_t* dest_data,
int pitch,
- FX_BOOL bTranslateColor,
uint8_t* offsets) = 0;
virtual void DestroyDecoder(void* ctx) = 0;
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp » ('j') | core/src/fxcodec/codec/fx_codec_jpx_opj.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698