Add frame/root element accessor helpers to SVGImage
This abstracts away most of the accesses to the Page object, reducing the amount of boilerplate a bit. It'll also make it easier to transition away from the current Page/Document setup to allow sharing some code with SVG resource documents. Also add a LayoutRoot() for additional simplification. Bug: 109212 Change-Id: I7db0e29cbe28cc31c1f1df0546a3266abf6141e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2544970Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#829157}
Showing
This diff is collapsed.
Please register or sign in to comment