Bug 153893 - Use scope stack instead of nested TreeResolvers for shadow trees
Summary: Use scope stack instead of nested TreeResolvers for shadow trees
Status: NEW
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: 2016-02-06 12:48 PST (History)
2 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?