RESOLVED FIXED 69715
Do not compare the first glyph to itself in Font::drawGlyphBuffer()
https://bugs.webkit.org/show_bug.cgi?id=69715
Summary Do not compare the first glyph to itself in Font::drawGlyphBuffer()
Benjamin Poulain
Reported 2011-10-08 22:28:36 PDT
In Font::drawGlyphBuffer(): 1) the information of the first glyph is extracted 2) it is compared to itself, which never fails 3) then to the following glyphs are handled We can just skip the first iteration which make the code a bit easier to read and hopefully a tiny-little-bit faster :)
Attachments
Patch (1.71 KB, patch)
2011-10-08 22:38 PDT, Benjamin Poulain
no flags
Benjamin Poulain
Comment 1 2011-10-08 22:38:13 PDT
Andreas Kling
Comment 2 2011-10-09 01:55:51 PDT
Comment on attachment 110290 [details] Patch r=me
WebKit Review Bot
Comment 3 2011-10-09 02:59:17 PDT
Comment on attachment 110290 [details] Patch Clearing flags on attachment: 110290 Committed r97023: <http://trac.webkit.org/changeset/97023>
WebKit Review Bot
Comment 4 2011-10-09 02:59:21 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.