| Index: sky/engine/core/css/resolver/ScopedStyleResolver.cpp
|
| diff --git a/sky/engine/core/css/resolver/ScopedStyleResolver.cpp b/sky/engine/core/css/resolver/ScopedStyleResolver.cpp
|
| index ccd487f391686aac60f0dfae1d05bcbb0b29a896..625d5a98f2b0d9ffcb7ca061e79793e8ae5fe2c9 100644
|
| --- a/sky/engine/core/css/resolver/ScopedStyleResolver.cpp
|
| +++ b/sky/engine/core/css/resolver/ScopedStyleResolver.cpp
|
| @@ -56,15 +56,6 @@ TreeScope* ScopedStyleResolver::treeScopeFor(Document& document, const CSSStyleS
|
| return &document;
|
| }
|
|
|
| -ScopedStyleResolver* ScopedStyleResolver::parent() const
|
| -{
|
| - for (TreeScope* scope = treeScope().parentTreeScope(); scope; scope = scope->parentTreeScope()) {
|
| - if (ScopedStyleResolver* resolver = scope->scopedStyleResolver())
|
| - return resolver;
|
| - }
|
| - return 0;
|
| -}
|
| -
|
| void ScopedStyleResolver::addRulesFromSheet(CSSStyleSheet* cssSheet, const MediaQueryEvaluator& medium, StyleResolver* resolver)
|
| {
|
| m_authorStyleSheets.append(cssSheet);
|
|
|