| Index: Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| diff --git a/Source/core/dom/TreeScopeStyleSheetCollection.cpp b/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| index f806b20bcee7af520e4e5559ad55de0111881092..ece0274cbdb324aed752537bef344d3c13f1afc3 100644
|
| --- a/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| +++ b/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| @@ -192,6 +192,17 @@ void TreeScopeStyleSheetCollection::enableExitTransitionStylesheets()
|
| }
|
| }
|
|
|
| +void TreeScopeStyleSheetCollection::disableExitTransitionStylesheets()
|
| +{
|
| + DocumentOrderedList::iterator begin = m_styleSheetCandidateNodes.begin();
|
| + DocumentOrderedList::iterator end = m_styleSheetCandidateNodes.end();
|
| + for (DocumentOrderedList::iterator it = begin; it != end; ++it) {
|
| + Node* node = *it;
|
| + if (isHTMLLinkElement(*node))
|
| + toHTMLLinkElement(node)->disableIfExitTransitionStyle();
|
| + }
|
| +}
|
| +
|
| static bool styleSheetsUseRemUnits(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet> >& sheets)
|
| {
|
| for (unsigned i = 0; i < sheets.size(); ++i) {
|
|
|