| Index: third_party/WebKit/Source/core/css/RuleFeature.h
|
| diff --git a/third_party/WebKit/Source/core/css/RuleFeature.h b/third_party/WebKit/Source/core/css/RuleFeature.h
|
| index 4ddb1b69e050c43acf6491e79e45040f91edebd2..980ab6d9dbedd1ac97513ec04e157610bdaa759d 100644
|
| --- a/third_party/WebKit/Source/core/css/RuleFeature.h
|
| +++ b/third_party/WebKit/Source/core/css/RuleFeature.h
|
| @@ -24,6 +24,7 @@
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/css/CSSSelector.h"
|
| +#include "core/css/MediaQueryEvaluator.h"
|
| #include "core/css/invalidation/InvalidationSet.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| @@ -75,6 +76,7 @@ public:
|
| bool usesSiblingRules() const { return !siblingRules.isEmpty(); }
|
| bool usesFirstLineRules() const { return m_metadata.usesFirstLineRules; }
|
| bool usesWindowInactiveSelector() const { return m_metadata.usesWindowInactiveSelector; }
|
| + bool needsFullRecalcForRuleSetInvalidation() const { return m_metadata.needsFullRecalcForRuleSetInvalidation; }
|
|
|
| unsigned maxDirectAdjacentSelectors() const { return m_metadata.maxDirectAdjacentSelectors; }
|
|
|
| @@ -107,6 +109,8 @@ public:
|
|
|
| HeapVector<RuleFeature> siblingRules;
|
| HeapVector<RuleFeature> uncommonAttributeRules;
|
| + MediaQueryResultList viewportDependentMediaQueryResults;
|
| + MediaQueryResultList deviceDependentMediaQueryResults;
|
|
|
| protected:
|
| InvalidationSet* invalidationSetForSelector(const CSSSelector&, InvalidationType);
|
| @@ -126,6 +130,7 @@ private:
|
| bool usesWindowInactiveSelector = false;
|
| bool foundSiblingSelector = false;
|
| bool foundInsertionPointCrossing = false;
|
| + bool needsFullRecalcForRuleSetInvalidation = false;
|
| unsigned maxDirectAdjacentSelectors = 0;
|
| };
|
|
|
| @@ -155,6 +160,7 @@ private:
|
| bool forceSubtree = false;
|
| bool contentPseudoCrossing = false;
|
| bool invalidatesSlotted = false;
|
| + bool containsIdClassAttributeOrTypeInScope = false;
|
| };
|
|
|
| static bool extractInvalidationSetFeature(const CSSSelector&, InvalidationSetFeatures&);
|
|
|