As discussed in bug 56099, we should deploy StringBuilder usage in WebCore where possible. This bug addresses Source/WebCore/css.
Created attachment 88218 [details] Patch
Attachment 88218 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style']" exit_code: 1 Source/WebCore/css/CSSOMUtils.h:42: The parameter name "string" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 88222 [details] Patch v2 Fix style isssue.
Comment on attachment 88222 [details] Patch v2 Removing r?. As discussed with Maciej, he prefers to optimize operator+ instead of having to change all callsites that append just 2 strings. I'll look into that.
I'll rework the patch to avoid using makeString, it's not needed anymore, as operator+ is fast now.