Make NGInlineNode::ShapeText() not to reuse ShapeResult for letter-spacing
This patch changes |NGInlineNode::ShapeText()| not to reuse |ShapeResult| for text with CSS property "letter-spacing" because we modify |ShapeResult| directly to apply letter spacing. Thus, letter- spacing is applied more than once on reused portion of |ShapeResult|. This is reland of original commit. There are two changes to fix revert resones: 1. Size of ShapeResult is increased => reduce bit size of |num_glyphs_|[1] 2. Newly added member is not initialized in copy constructor[2] [1] http://crrev.com/c/2390615 [2] http://crrev.com/c/2392577 Bug: 1124446, 1124740 Change-Id: Ifef96781528b03944be752303b1ce1edca5ff92e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397105 Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#804918}
Showing
Please register or sign in to comment