| Summary: | Stop using getCharactersWithUpconvert in JavaScriptCore | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
| Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | benjamin, cmarcelo, commit-queue, darin | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Anders Carlsson
2014-02-08 10:17:49 PST
Created attachment 223570 [details]
Patch
Comment on attachment 223570 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223570&action=review Nice! r=me > Source/WTF/wtf/text/StringView.h:141 > + if (is8Bit()) > + return WTF::find(characters8(), length(), character, start); I wonder if it would be useful to have an early return here if 'character' is outside the LChar range. NABD. Comment on attachment 223570 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223570&action=review > Source/JavaScriptCore/ChangeLog:9 > + if the source or replacement strings area 16-bit. "are" Comment on attachment 223570 [details] Patch Clearing flags on attachment: 223570 Committed r163727: <http://trac.webkit.org/changeset/163727> All reviewed patches have been landed. Closing bug. |