[Webkit-unassigned] [Bug 226369] REGRESSION(r276882): Style not invalidated correctly for media queries in shadow trees that share style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 1 09:38:02 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226369

--- Comment #6 from Sam Weinig <sam at webkit.org> ---
(In reply to Antti Koivisto from comment #5)
> > As these scopes are WeakPtrs, what is guaranteeing they are alive? Do they
> > really have to be WeakPtrs? Given how short lived this Vector is, could they
> > Ref<>s? Should you be null checking them?
> 
> Logically they are guaranteed to be non-null. I'm just using WeakPtrs
> defensively here.

I guess we can't use Refs as they are not reference counted. It's going to take me some time (if ever) to become comfortable with defensive use of WeakPtr :(.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210601/ac293d7d/attachment.htm>


More information about the webkit-unassigned mailing list