> On Sep 23, 2020, at 10:32 AM, Darin Adler <da...@apple.com> wrote:
>> On Sep 16, 2020, at 11:32 PM, Ryosuke Niwa <rn...@webkit.org
>> <mailto:rn...@webkit.org>> wrote:
>> Every data member to a ref counted object must use either Ref, RefPtr, or
>> WeakPtr. webkit.NoUncountedMemberChecker
>> only worry here is performance. Do we know yet if we can afford it?
> The worst case here is Ref, which is much worse than a reference since we end
> up having to use -> instead of . everywhere and you can’t see that there is
> no null involved.
I don’t mean performance worst case. I meant “outside of performance concerns,
the worst downgrade of our programming idioms is Ref”.
>> Every ref counted base class, if it has a derived class, must define a
>> virtual destructor. webkit.RefCntblBaseVirtualDtor
>> style system has an optimization that intentionally violates this for
>> performance reasons (StyleRuleBase).
So are we saying we must not do that optimization, or will we have a way to
suppress the warning for this?
webkit-dev mailing list