| Index: Source/core/css/resolver/ScopedStyleResolver.h
|
| diff --git a/Source/core/css/resolver/ScopedStyleResolver.h b/Source/core/css/resolver/ScopedStyleResolver.h
|
| index a8c91cd62e658ae79f075210b60f1609fbb28979..3c7016dc8730a6cb0198d4c5c5f0f17823bedcf8 100644
|
| --- a/Source/core/css/resolver/ScopedStyleResolver.h
|
| +++ b/Source/core/css/resolver/ScopedStyleResolver.h
|
| @@ -42,10 +42,12 @@ class StyleSheetContents;
|
| class ViewportStyleResolver;
|
|
|
| // This class selects a ComputedStyle for a given element based on a collection of stylesheets.
|
| -class ScopedStyleResolver final : public NoBaseWillBeGarbageCollected<ScopedStyleResolver> {
|
| +class ScopedStyleResolver final : public NoBaseWillBeGarbageCollectedFinalized<ScopedStyleResolver> {
|
| WTF_MAKE_NONCOPYABLE(ScopedStyleResolver);
|
| WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(ScopedStyleResolver);
|
| public:
|
| + ~ScopedStyleResolver();
|
| +
|
| static PassOwnPtrWillBeRawPtr<ScopedStyleResolver> create(TreeScope& scope)
|
| {
|
| return adoptPtrWillBeNoop(new ScopedStyleResolver(scope));
|
| @@ -67,6 +69,8 @@ public:
|
| void resetAuthorStyle();
|
| void collectViewportRulesTo(ViewportStyleResolver*) const;
|
|
|
| + bool hasTreeBoundaryCrossingRules() const { return m_treeBoundaryCrossingRuleSet; }
|
| +
|
| DECLARE_TRACE();
|
|
|
| private:
|
|
|