summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_traverse.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-20 21:12:37 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-20 21:12:37 +0000
commitfda907f4ac7ee9589f52d6c13e4bc555f8216c52 (patch)
treed84c1d7d06e542eab473cc8e855be19618132a61 /xfa/fxfa/parser/cxfa_traverse.h
parentc68109a2dac3be544b7753d1fd677255d859745b (diff)
downloadpdfium-fda907f4ac7ee9589f52d6c13e4bc555f8216c52.tar.xz
Replace downcasts in cxfa_node to checked conversion methods.
Part of the effort to not trust downcasts in the CFXA_Node hierarchy. The number of subclasses is small enough here that the O(n^2) space overhead for the vtables is not significant. Put all sub-classes in same top-level namespace as the parent, just because we avoid jumping in and out of anonymous namespace. Change-Id: I32b80a93c75f8a09eb17c01fe1e29d04b4053fa1 Reviewed-on: https://pdfium-review.googlesource.com/38510 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_traverse.h')
0 files changed, 0 insertions, 0 deletions