From 5f126ff301152785add9efb512badd70388d3806 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Fri, 28 Aug 2015 11:13:34 -0700 Subject: [PATCH] Remove unnecessary adapt_character_flags call --- components/gfx/text/glyph.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/gfx/text/glyph.rs b/components/gfx/text/glyph.rs index d998168cb31..d27128014b5 100644 --- a/components/gfx/text/glyph.rs +++ b/components/gfx/text/glyph.rs @@ -477,9 +477,6 @@ impl<'a> GlyphStore { } }; - // FIXME(pcwalton): Is this necessary? I think it's a no-op. - entry = entry.adapt_character_flags_of_entry(self.entry_buffer[i.to_usize()]); - if character == Some(' ') { entry = entry.set_char_is_space() }