Bug 96439

Summary: jsStringWithCache shouldn't call StringImpl::characters() for single character strings
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: WebCore JavaScriptAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Michael Saboff
Reported 2012-09-11 15:53:45 PDT
This is to fix two FIXME's in jsStringWithCache. // FIXME: we shouldn't invoke StringImpl::characters(). // FIXME: why not just return a SmallStrings when possible?
Attachments
Patch (2.02 KB, patch)
2012-09-11 15:58 PDT, Michael Saboff
no flags
Michael Saboff
Comment 1 2012-09-11 15:58:56 PDT
Geoffrey Garen
Comment 2 2012-09-11 16:07:53 PDT
Comment on attachment 163464 [details] Patch r=me
WebKit Review Bot
Comment 3 2012-09-11 16:53:24 PDT
Comment on attachment 163464 [details] Patch Clearing flags on attachment: 163464 Committed r128244: <http://trac.webkit.org/changeset/128244>
WebKit Review Bot
Comment 4 2012-09-11 16:53:27 PDT
All reviewed patches have been landed. Closing bug.
Michael Saboff
Comment 5 2012-09-11 17:26:07 PDT
Note You need to log in before you can comment on or make changes to this bug.