Fix SVGInlineTextMetricsIterator not to keep a pointer to LineLayoutItem
This patch changes SVGInlineTextMetricsIterator to keep an instanace of LineLayoutSVGInlineText, not a pointer to. LineLayoutItem and its subclasses are oftentimes allocated on stack that keeping pointers should be avoided. Additional ASSERTs in this CL fail existing tests. These existing tests cover the fix. BUG=572399, 499321 Review URL: https://codereview.chromium.org/1547263002 Cr-Commit-Position: refs/heads/master@{#367064}
Showing
Please register or sign in to comment