summaryrefslogtreecommitdiff
path: root/core/fpdftext/cpdf_textpage.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-02-15 16:26:48 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-02-15 23:35:50 +0000
commita4ad01fe03ffdd1806d31a9d7bb820f6a69a0afb (patch)
tree346da436a6382e1509e84cbdaf1b622035a97f32 /core/fpdftext/cpdf_textpage.cpp
parentf7fddc9325da53c861aa4f2a7c0139b39bc1da60 (diff)
downloadpdfium-a4ad01fe03ffdd1806d31a9d7bb820f6a69a0afb.tar.xz
Move generated graphics and font maps to CPDF_Page
A new CPDF_PageContentGenerator is created for every call of FPDFPage_GenerateContent, so having the maps there will cause duplicated resources to be created every time this method is called. Thus it is better to move these to the page. Change-Id: I47804f79790fc5354f8a94b6387d66b65eda5a20 Reviewed-on: https://pdfium-review.googlesource.com/2717 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_textpage.cpp')
0 files changed, 0 insertions, 0 deletions