| Index: Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| diff --git a/Source/core/dom/TreeScopeStyleSheetCollection.cpp b/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| index 93a42764f127816bf550ff57c50f3a480f8540ba..b0a0e3ff553b0194a575d7529277bcb602901ec9 100644
|
| --- a/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| +++ b/Source/core/dom/TreeScopeStyleSheetCollection.cpp
|
| @@ -42,7 +42,6 @@ namespace blink {
|
| TreeScopeStyleSheetCollection::TreeScopeStyleSheetCollection(TreeScope& treeScope)
|
| : m_treeScope(treeScope)
|
| , m_hadActiveLoadingStylesheet(false)
|
| - , m_usesRemUnits(false)
|
| {
|
| }
|
|
|
| @@ -176,20 +175,6 @@ void TreeScopeStyleSheetCollection::clearMediaQueryRuleSetStyleSheets()
|
| }
|
| }
|
|
|
| -static bool styleSheetsUseRemUnits(const WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>>& sheets)
|
| -{
|
| - for (unsigned i = 0; i < sheets.size(); ++i) {
|
| - if (sheets[i]->contents()->usesRemUnits())
|
| - return true;
|
| - }
|
| - return false;
|
| -}
|
| -
|
| -void TreeScopeStyleSheetCollection::updateUsesRemUnits()
|
| -{
|
| - m_usesRemUnits = styleSheetsUseRemUnits(m_activeAuthorStyleSheets);
|
| -}
|
| -
|
| DEFINE_TRACE(TreeScopeStyleSheetCollection)
|
| {
|
| visitor->trace(m_treeScope);
|
|
|