Use a vector for PDF structure element node children.
As requested by this comment: https://chromium-review.googlesource.com/c/chromium/src/+/1970742/7/printing/common/metafile_utils.cc#125 A change to Skia (https://skia-review.googlesource.com/c/skia/+/271816) now lets us use a std::vector for children of a StructureElementNode, rather than a raw array. Now we no longer need custom code to recursively destroy the tree after we write a PDF. Bug: 607777 Change-Id: Iaffa00e4a27d27866cfa57e8f9da51fbdb8f2939 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2077277Reviewed-by:Lei Zhang <thestig@chromium.org> Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#745296}
Showing
Please register or sign in to comment