-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=95301 Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-09-02 Reviewed by Darin Adler. The static string convertedSpaceString() had a couple of annoying side effects: -The string was 16bits due to noBreakSpace, which forced any input to be converted to 16bits. -The string was kept in the heap for no particular reason. This patch redefines convertedSpaceString as a constant literal so that we can use it efficiently. The patch also make the binary a tiny bit smaller (700 bytes). * editing/HTMLInterchange.cpp: (WebCore::convertHTMLTextToInterchangeFormat): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3e261b44