We can avoid allocating StylePropertySet's Vector<CSSProperty> on the heap if we split the mutable/immutable behavior into subclasses.
Created attachment 165416 [details] Patch
Attachment 165416 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/css/StylePropertySet.h:52: The parameter name "cssParserMode" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 165416 [details] Patch Rejecting attachment 165416 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: 1029 (offset -1 lines). Hunk #10 succeeded at 1042 (offset -1 lines). Hunk #11 FAILED at 1106. Hunk #12 succeeded at 1115 (offset -1 lines). Hunk #13 succeeded at 1128 (offset -1 lines). 1 out of 13 hunks FAILED -- saving rejects to file Source/WebCore/css/StylePropertySet.cpp.rej patching file Source/WebCore/css/StylePropertySet.h Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Antti Koiv..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue Full output: http://queues.webkit.org/results/13998000
Created attachment 165654 [details] Hatch for splanding
Comment on attachment 165654 [details] Hatch for splanding Clearing flags on attachment: 165654 Committed r129543: <http://trac.webkit.org/changeset/129543>
All reviewed patches have been landed. Closing bug.