Summary: | Implement UString::adopt | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adam Barth <abarth> | ||||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED WORKSFORME | ||||||||
Severity: | Normal | CC: | barraclough, mrowe | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Adam Barth
2008-07-15 02:30:02 PDT
Created attachment 22278 [details]
patch
Comment on attachment 22278 [details]
patch
I would rather we remove non-copying version of the UString constructor and only use adopt.
Created attachment 22287 [details]
non-perf tested version of what I was thinking
> I would rather we remove non-copying version of the UString constructor and
> only use adopt.
Yes, that's a good idea. The non-copying constructor is just asking for memory errors.
This now exists! |