diff options
Diffstat (limited to 'core/fpdfapi/parser/cfdf_document.h')
-rw-r--r-- | core/fpdfapi/parser/cfdf_document.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cfdf_document.h b/core/fpdfapi/parser/cfdf_document.h index c1c1b79636..6efaa4ce06 100644 --- a/core/fpdfapi/parser/cfdf_document.h +++ b/core/fpdfapi/parser/cfdf_document.h @@ -12,6 +12,7 @@ #include "core/fpdfapi/parser/cpdf_indirect_object_holder.h" #include "core/fpdfapi/parser/cpdf_object.h" #include "core/fxcrt/unowned_ptr.h" +#include "third_party/base/span.h" class CPDF_Dictionary; class IFX_SeekableReadStream; @@ -19,8 +20,8 @@ class IFX_SeekableReadStream; class CFDF_Document : public CPDF_IndirectObjectHolder { public: static std::unique_ptr<CFDF_Document> CreateNewDoc(); - static std::unique_ptr<CFDF_Document> ParseMemory(const uint8_t* pData, - uint32_t size); + static std::unique_ptr<CFDF_Document> ParseMemory( + pdfium::span<const uint8_t> span); CFDF_Document(); ~CFDF_Document() override; |