| Index: third_party/WebKit/Source/core/css/RuleSet.h
|
| diff --git a/third_party/WebKit/Source/core/css/RuleSet.h b/third_party/WebKit/Source/core/css/RuleSet.h
|
| index 8e5de804518b85e510e7cc64bcb24c92705592c1..7b72d374ce0ace56f62286effd0a33105658e193 100644
|
| --- a/third_party/WebKit/Source/core/css/RuleSet.h
|
| +++ b/third_party/WebKit/Source/core/css/RuleSet.h
|
| @@ -119,11 +119,18 @@ struct SameSizeAsRuleData {
|
|
|
| static_assert(sizeof(RuleData) == sizeof(SameSizeAsRuleData), "RuleData should stay small");
|
|
|
| -class CORE_EXPORT RuleSet : public NoBaseWillBeGarbageCollectedFinalized<RuleSet> {
|
| +class CORE_EXPORT RuleSet final : public NoBaseWillBeGarbageCollectedFinalized<RuleSet> {
|
| WTF_MAKE_NONCOPYABLE(RuleSet);
|
| WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(RuleSet);
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<RuleSet> create() { return adoptPtrWillBeNoop(new RuleSet); }
|
| + static PassOwnPtrWillBeRawPtr<RuleSet> create()
|
| + {
|
| + return adoptPtrWillBeNoop(new RuleSet);
|
| + }
|
| + ~RuleSet();
|
| +#if ENABLE(OILPAN)
|
| + void dispose();
|
| +#endif
|
|
|
| void addRulesFromSheet(StyleSheetContents*, const MediaQueryEvaluator&, AddRuleFlags = RuleHasNoSpecialState);
|
| void addStyleRule(StyleRule*, AddRuleFlags);
|
|
|