diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-07-06 20:32:29 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-06 20:32:29 +0000 |
commit | 4caa1200938a397d7f2f193872355129adb768ed (patch) | |
tree | 4f3a3d3e3d8d0a6eb3ef3e30a114562cd69ca38e /core/fpdfapi/font/cpdf_cmapmanager.cpp | |
parent | 05aa09d3ebfd587dd8e1116b6cac8053a2944a1a (diff) | |
download | pdfium-4caa1200938a397d7f2f193872355129adb768ed.tar.xz |
Maintain a stack of CPDF_ContentMark while parsing a stream.
This avoids copying the CPDF_ContentMark every time a mark is closed.
Another benefit is that the same CPDF_ContentMarkItem vector will be
shared by page objects before and after a nested mark.
Bug: pdfium:1037
Change-Id: I6197f0b9a4693ef84da9269f86a2629aa50d8685
Reviewed-on: https://pdfium-review.googlesource.com/37190
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_cmapmanager.cpp')
0 files changed, 0 insertions, 0 deletions