diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-23 18:21:06 -0700 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-05-23 18:21:06 -0700 |
commit | 8b633c979eb57c94e59d93888df9971193a3d533 (patch) | |
tree | 50494a04fc086eae172ad40f2433a7cd8f88d307 /components/script/dom/htmltemplateelement.rs | |
parent | 5454cfb36967a81681389df78eb06653d6367a60 (diff) | |
parent | 43e12f7ebabaa6a572e9fe88482923d285c3222a (diff) | |
download | servo-8b633c979eb57c94e59d93888df9971193a3d533.tar.gz servo-8b633c979eb57c94e59d93888df9971193a3d533.zip |
Auto merge of #11347 - mbrubeck:fast-shape, r=pcwalton
Don't create HarfBuzz shaper if it isn't used
Move the fast shaping code out of `text::shaping::harfbuzz`, and initialize the HarfBuzz shaper lazily to avoid allocating unnecessary HarfBuzz objects.
Note: As the fast shaping code grows and gains OpenType support, I'll probably factor it out into a whole new `text::shaping::fast` module.
r? @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11347)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmltemplateelement.rs')
0 files changed, 0 insertions, 0 deletions