| Index: Source/core/css/RuleFeature.h
|
| diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h
|
| index df44c3e2fc49b04c6b0b1c033a040df05c777998..fa3037958cebc803bde2939008d2edf747d5f1ad 100644
|
| --- a/Source/core/css/RuleFeature.h
|
| +++ b/Source/core/css/RuleFeature.h
|
| @@ -76,7 +76,6 @@ public:
|
| {
|
| ASSERT(!classValue.isEmpty());
|
| return m_classInvalidationSets.get(classValue);
|
| -
|
| }
|
|
|
| inline bool hasSelectorForId(const AtomicString& idValue) const
|
| @@ -87,8 +86,6 @@ public:
|
| void scheduleStyleInvalidationForClassChange(const SpaceSplitString& changedClasses, Element*);
|
| void scheduleStyleInvalidationForClassChange(const SpaceSplitString& oldClasses, const SpaceSplitString& newClasses, Element*);
|
|
|
| - void computeStyleInvalidation(Document&);
|
| -
|
| // Clears all style invalidation state for the passed node.
|
| void clearStyleInvalidation(Node*);
|
|
|
| @@ -104,10 +101,14 @@ public:
|
| Vector<RuleFeature> siblingRules;
|
| Vector<RuleFeature> uncommonAttributeRules;
|
|
|
| -private:
|
| - typedef HashMap<AtomicString, RefPtr<DescendantInvalidationSet> > InvalidationSetMap;
|
| typedef Vector<RefPtr<DescendantInvalidationSet> > InvalidationList;
|
| typedef HashMap<Element*, OwnPtr<InvalidationList> > PendingInvalidationMap;
|
| +
|
| + PendingInvalidationMap& pendingInvalidationMap();
|
| +
|
| +private:
|
| + typedef HashMap<AtomicString, RefPtr<DescendantInvalidationSet> > InvalidationSetMap;
|
| +
|
| struct FeatureMetadata {
|
| FeatureMetadata()
|
| : usesFirstLineRules(false)
|
| @@ -140,9 +141,6 @@ private:
|
|
|
| void addClassToInvalidationSet(const AtomicString& className, Element*);
|
|
|
| - bool invalidateStyleForClassChange(Element*, Vector<AtomicString>&, bool foundInvalidationSet);
|
| - bool invalidateStyleForClassChangeOnChildren(Element*, Vector<AtomicString>& invalidationClasses, bool foundInvalidationSet);
|
| -
|
| InvalidationList& ensurePendingInvalidationList(Element*);
|
|
|
| FeatureMetadata m_metadata;
|
| @@ -152,6 +150,7 @@ private:
|
| bool m_targetedStyleRecalcEnabled;
|
| };
|
|
|
| +
|
| } // namespace WebCore
|
|
|
| #endif // RuleFeature_h
|
|
|