Index: Source/core/dom/StyleEngine.h |
diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h |
index 20118e6976d3218af49a947f6ca479e2fbef0d4e..0bf9b03ccc03d8449687f3a64839f9c9c5b466dc 100644 |
--- a/Source/core/dom/StyleEngine.h |
+++ b/Source/core/dom/StyleEngine.h |
@@ -108,6 +108,8 @@ public: |
void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeScope&); |
void modifiedStyleSheetCandidateNode(Node*); |
void enableExitTransitionStylesheets(); |
+ void addXSLStyleSheet(ProcessingInstruction*, bool createdByParser); |
+ void removeXSLStyleSheet(ProcessingInstruction*); |
void invalidateInjectedStyleSheetCache(); |
void updateInjectedStyleSheetCache() const; |
@@ -195,6 +197,7 @@ private: |
TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&); |
TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); |
bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode); |
+ bool shouldApplyXSLTransform() const; |
void markTreeScopeDirty(TreeScope&); |
@@ -273,6 +276,8 @@ private: |
WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_textToSheetCache; |
WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sheetToTextCache; |
+ |
+ RefPtr<ProcessingInstruction> m_xslStyleSheet; |
}; |
} |