commit | 6bd592cd8c98e184d3c62be2f3c59cadfc67535a | [log] [tgz] |
---|---|---|
author | jbroman@chromium.org <jbroman@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Fri Aug 09 17:48:18 2013 |
committer | jbroman@chromium.org <jbroman@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Fri Aug 09 17:48:18 2013 |
tree | 805f999270240b7998499eae441c97352667a507 | |
parent | 70f2c26e6f9aaf320d0a463be1cbda63d9b1ac1e [diff] |
Only allocate the hyphen-appending buffer if we intend to use it. Otherwise, there is no apparent need to reserve this capacity. This reduces time spent painting text. BUG=270678 R=abarth@chromium.org Review URL: https://codereview.chromium.org/22745002 git-svn-id: svn://svn.chromium.org/blink/trunk@155848 bbb929c8-8fbe-4397-9dbb-9b2b20218538