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

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

Issue 1549043003: Fix failed JPX image rendering (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years 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 c068a080257dfd72d410f39cbe756f57e36b8de2..61f6257a2d603936469032e8283af3260d1b6a42 100644
--- a/core/include/fxcodec/fx_codec.h
+++ b/core/include/fxcodec/fx_codec.h
@@ -9,6 +9,7 @@
#include <vector>
+#include "core/include/fpdfapi/fpdf_resource.h"
Lei Zhang 2015/12/24 08:42:55 No need, just forward declare at line 17.
jun_fang 2015/12/24 10:12:20 Acknowledged.
#include "core/include/fxcrt/fx_basic.h"
#include "fx_codec_def.h"
#include "third_party/base/nonstd_unique_ptr.h"
@@ -207,7 +208,7 @@ class ICodec_JpxModule {
virtual CJPX_Decoder* CreateDecoder(const uint8_t* src_buf,
FX_DWORD src_size,
- bool use_colorspace) = 0;
+ CPDF_ColorSpace* cs) = 0;
virtual void GetImageInfo(CJPX_Decoder* pDecoder,
FX_DWORD* width,
« 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