DescriptionFlip document and parser ownership
This Cl switches the ownership between the parser and the document. Previously
the parser owned the document and we'd jump through hoops during cleanup to
delete the right object. This Cl flips the ownership so the document owns
the parser and simplifies the cleanup logic where needed.
BUG=pdfium:565
Committed: https://pdfium.googlesource.com/pdfium/+/cedaa557316a3f5c436814e69d67f19795f471d7
Patch Set 1 #
Total comments: 6
Patch Set 2 : Review cleanup #Patch Set 3 : Rebase to master #
Messages
Total messages: 16 (10 generated)
|