<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - RenderStyle should not be reference counted"
href="https://bugs.webkit.org/show_bug.cgi?id=156846#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - RenderStyle should not be reference counted"
href="https://bugs.webkit.org/show_bug.cgi?id=156846">bug 156846</a>
from <span class="vcard"><a class="email" href="mailto:koivisto@iki.fi" title="Antti Koivisto <koivisto@iki.fi>"> <span class="fn">Antti Koivisto</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=156846#c15">comment #15</a>)
<span class="quote">> Comment on <span class=""><a href="attachment.cgi?id=277143&action=diff" name="attach_277143" title="patch">attachment 277143</a> <a href="attachment.cgi?id=277143&action=edit" title="patch">[details]</a></span>
> patch
>
> View in context:
> <a href="https://bugs.webkit.org/attachment.cgi?id=277143&action=review">https://bugs.webkit.org/attachment.cgi?id=277143&action=review</a>
>
> This makes me wonder why these are heap allocated. Maybe at some point
> should passing RenderStyle&& and moving them instead of using objects on the
> heap and moving unique_ptrs around. I guess they are kind of big, though.</span >
The plan is to move to RenderStyle&& in at least some places. One obvious thing we can do now is to inline RenderStyle to RenderElement, eliminating an allocation and indirection per renderer.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>