summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-30 19:31:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-30 19:31:19 +0000
commitd718d634b7aa3311a5b6298574d06f091365259f (patch)
tree39560860d111a143e6d3b27e42245ca79710daab /testing
parent5822da79e645ad896c4aeec623d38a92ee7231a8 (diff)
downloadpdfium-d718d634b7aa3311a5b6298574d06f091365259f.tar.xz
Type-safe iteration over CXFA_ContentLayoutItems.
There's no reason that every CXFA_LayoutItem must be a CXFA_ContentLayout item, so use checked conversions. The code may already be arranging things so the constraint is already satisfied, but this adds an additional layer of safety. Tidy some long expressions with pre-existing typedef for node iterator while we're at it. Change-Id: If1448131ca73bfedb2266b070f1a913688598e64 Reviewed-on: https://pdfium-review.googlesource.com/39051 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing')
0 files changed, 0 insertions, 0 deletions