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:
bors-servo 2013-09-09 18:42:51 -07:00
commit ae0d531dd6

View file

@ -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 => {