Chromium Code Reviews| Index: Source/core/dom/StyleEngine.h |
| diff --git a/Source/core/dom/StyleEngine.h b/Source/core/dom/StyleEngine.h |
| index d2a35e761a1581179da4254d66c82062a1800d56..e247ff3846811f64ba3c97e48e6d45e8923945ff 100644 |
| --- a/Source/core/dom/StyleEngine.h |
| +++ b/Source/core/dom/StyleEngine.h |
| @@ -105,6 +105,8 @@ public: |
| void removeStyleSheetCandidateNode(Node*); |
| void removeStyleSheetCandidateNode(Node*, ContainerNode* scopingNode, TreeScope&); |
| void modifiedStyleSheetCandidateNode(Node*); |
| + void addXSLStyleSheet(Node*, bool createdByParser); |
| + void removeXSLStyleSheet(Node*); |
| void invalidateInjectedStyleSheetCache(); |
| void updateInjectedStyleSheetCache() const; |
| @@ -196,6 +198,7 @@ private: |
| TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&); |
| TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); |
| bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode); |
| + bool shouldApplyXSLTransform() const; |
| void markTreeScopeDirty(TreeScope&); |
| @@ -250,6 +253,8 @@ private: |
| WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents> > m_textToSheetCache; |
| WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sheetToTextCache; |
| + |
| + ProcessingInstruction* m_xslStyleSheet; |
|
esprehn
2014/05/22 18:32:20
This looks really scary, can this be a RefPtr inst
tasak
2014/05/27 06:17:30
Done.
|
| }; |
| } |