diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-07-20 21:12:37 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-07-20 21:12:37 +0000 |
commit | fda907f4ac7ee9589f52d6c13e4bc555f8216c52 (patch) | |
tree | d84c1d7d06e542eab473cc8e855be19618132a61 /skia/BUILD.gn | |
parent | c68109a2dac3be544b7753d1fd677255d859745b (diff) | |
download | pdfium-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 'skia/BUILD.gn')
0 files changed, 0 insertions, 0 deletions