Summary: | Simplify SmallStrings | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Benjamin Poulain <benjamin> | ||||
Component: | JavaScriptCore | Assignee: | Benjamin Poulain <benjamin> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | barraclough, ggaren | ||||
Priority: | P2 | Keywords: | EasyFix | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Benjamin Poulain
2012-03-16 23:19:27 PDT
Created attachment 132449 [details]
Patch
Committed r111306: <http://trac.webkit.org/changeset/111306> Comment on attachment 132449 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=132449&action=review > Source/JavaScriptCore/runtime/SmallStrings.cpp:74 > + m_emptyString = 0; Would be even better to use an initializer for this instead of assignment in the body of the function. > > Source/JavaScriptCore/runtime/SmallStrings.cpp:74
> > + m_emptyString = 0;
>
> Would be even better to use an initializer for this instead of assignment in the body of the function.
This was the first of a pair of patch. The second actually did that, so no worries :)
|