Summary: | Refcount Style::Resolver | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cdumez, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, kangil.han, macpherson, menard, rniwa, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Antti Koivisto
2021-04-26 02:54:07 PDT
Created attachment 427032 [details]
patch
Comment on attachment 427032 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=427032&action=review > Source/WebCore/style/StyleResolver.h:83 > +class Resolver : public RefCounted<Resolver> { > public: Should we iso-heap this? > Source/WebCore/style/StyleScope.h:180 > HashSet<const Element*> m_elementsInHeadWithPendingSheets; > HashSet<const Element*> m_elementsInBodyWithPendingSheets; Yikes. We should use WeakHashSet for these! > Source/WebCore/style/StyleTreeResolver.h:73 > Scope* enclosingScope { nullptr }; Should this be RefPtr<Scope> as well? Created attachment 427035 [details]
patch
Committed r276588 (237024@main): <https://commits.webkit.org/237024@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427035 [details]. |