From d801c9c9caddf3941f6844fab58b19261d7d3cad Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 13 Aug 2018 20:36:16 +0000 Subject: Implement CFX_CodecMemory. This class is much simpler than CFX_MemoryStream and does only what CFX_BmpDecompressor and CFX_GifContext needs. Swap out CFX_MemoryStream and remove CFX_MemoryStream::Seek(). BUG=pdfium:263 Change-Id: Ifd8ce4d2b6c9fedd6ec842d46f54fc8e654fbca7 Reviewed-on: https://pdfium-review.googlesource.com/39880 Commit-Queue: Lei Zhang Reviewed-by: Ryan Harrison --- BUILD.gn | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index c3576b49b4..4fbb2932ad 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -824,6 +824,12 @@ jumbo_static_library("fxcodec") { ] deps += [ "third_party:fx_tiff" ] } + if (pdf_enable_xfa_bmp || pdf_enable_xfa_gif) { + sources += [ + "core/fxcodec/codec/cfx_codec_memory.cpp", + "core/fxcodec/codec/cfx_codec_memory.h", + ] + } } } -- cgit v1.2.3