Bug 153893 - Use scope stack instead of nested TreeResolvers for shadow trees
Summary: Use scope stack instead of nested TreeResolvers for shadow trees
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-04 13:50 PST by Antti Koivisto
Modified: 2022-10-25 08:45 PDT (History)
3 users (show)

See Also:


Attachments
patch (13.38 KB, patch)
2016-02-05 08:37 PST, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2016-02-04 13:50:33 PST
Use more future proof approach.
Comment 1 Antti Koivisto 2016-02-05 08:37:41 PST
Created attachment 270745 [details]
patch
Comment 2 Andreas Kling 2016-02-06 03:25:17 PST
Comment on attachment 270745 [details]
patch

r=me
Comment 3 Ryosuke Niwa 2016-02-06 12:48:54 PST
Comment on attachment 270745 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=270745&action=review

> Source/WebCore/style/StyleTreeResolver.h:80
> +    struct Scope : RefCounted<Scope> {

Does this really need to be RefCounted?
Comment 4 Ahmad Saleem 2022-10-25 08:45:54 PDT
landed - https://github.com/WebKit/WebKit/commit/b8cc4b3a7442887470b8c810f1b6dd2c70008e15

and didn't backed out.

Although @rniwa comment was not addressed.

Marking this as "RESOLVED FIXED" though.