Summary: | Change set 101187 from bug 73154 removed already lower case optimization | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Michael Saboff <msaboff> | ||||
Component: | JavaScriptCore | Assignee: | Michael Saboff <msaboff> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Michael Saboff
2011-11-27 13:53:41 PST
Created attachment 116679 [details]
Patch
Comment on attachment 116679 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116679&action=review r=me with one change below. > Source/JavaScriptCore/runtime/StringPrototype.cpp:1196 > + return JSValue::encode(jsString(exec, UString(lower))); lower.release() is the idiom for avoiding refcount churn here. Committed r101278: <http://trac.webkit.org/changeset/101278> |