summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_unicode.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-23 22:59:11 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-28 18:03:23 +0000
commit91f443f4f3b9682959435a5417b48975729b9338 (patch)
tree276bdca29d495f13e524dcb2b0b5e0650f8f3ec2 /core/fxcrt/fx_unicode.cpp
parent8a4494034eb77bbc3453108616cc5dd67d3adbef (diff)
downloadpdfium-91f443f4f3b9682959435a5417b48975729b9338.tar.xz
Move replaced indirect objects to the orphans list.
ReplaceIndirectObjectIfHigherGeneration() deletes replaced objects, but those objects may be in use. So move them to the orphans list instead to avoid potential dangling pointers. BUG=chromium:757705 Change-Id: Ide83a1b85b754166d298fd50e655ca331ba4f942 Reviewed-on: https://pdfium-review.googlesource.com/11670 Reviewed-by: Art Snake <art-snake@yandex-team.ru> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_unicode.cpp')
0 files changed, 0 insertions, 0 deletions