| Index: sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
|
| diff --git a/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp b/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
|
| index 0d0c39264f70d9cb049b3eff5d333a9f7f0a765e..d11a655a55f0b3930a892b6c497e260967265b3c 100644
|
| --- a/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
|
| +++ b/sky/engine/core/dom/TreeScopeStyleSheetCollection.cpp
|
| @@ -38,7 +38,6 @@ namespace blink {
|
|
|
| TreeScopeStyleSheetCollection::TreeScopeStyleSheetCollection(TreeScope& treeScope)
|
| : m_treeScope(treeScope)
|
| - , m_usesRemUnits(false)
|
| {
|
| }
|
|
|
| @@ -68,18 +67,4 @@ void TreeScopeStyleSheetCollection::clearMediaQueryRuleSetStyleSheets()
|
| }
|
| }
|
|
|
| -static bool styleSheetsUseRemUnits(const Vector<RefPtr<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);
|
| -}
|
| -
|
| }
|
|
|