DescriptionMerge to XFA: Cleanup CPDF_Stream:
- Remove CPDF_Stream::Create() and checks that it might fail.
- Remove m_pCryptoHandler that's always a nullptr.
- Remove m_FileOffset that's always 0.
- Rename file version of InitStream() to InitStreamFromFile().
- Use IsMemoryBased() in more places.
TBR=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1415163009 .
(cherry picked from commit e6e16954f0cdc324849fca9da883be8f131b3834)
Committed: https://pdfium.googlesource.com/pdfium/+/61aad4fbb6fb1081a40b2e144106f57cf443846c
Patch Set 1 #Patch Set 2 : fix build #
Messages
Total messages: 2 (0 generated)
|