mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
auto merge of #882 : sammykim/servo/infinite-loop, r=metajack
To reproduce: ```html <span style="font-size: 128px">abc</span> ```
This commit is contained in:
commit
ae0d531dd6
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ impl<'self> Iterator<(uint, GlyphInfo<'self>)> for GlyphIterator<'self> {
|
|||
// Would use 'match' here but it borrows contents in a way that
|
||||
// interferes with mutation.
|
||||
if self.glyph_range.is_some() {
|
||||
match self.glyph_range.unwrap().next() {
|
||||
match self.glyph_range.get_mut_ref().next() {
|
||||
Some(j) => Some((self.char_index,
|
||||
DetailGlyphInfo(self.store, self.char_index, j as u16))),
|
||||
None => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue