| Index: sky/engine/core/frame/LocalDOMWindow.cpp
|
| diff --git a/sky/engine/core/frame/LocalDOMWindow.cpp b/sky/engine/core/frame/LocalDOMWindow.cpp
|
| index c8aa495853acfca2a3b16dd311cbe25cc8ce233b..cf4eb3d1e06407e8860005a58f45432a4ff02c10 100644
|
| --- a/sky/engine/core/frame/LocalDOMWindow.cpp
|
| +++ b/sky/engine/core/frame/LocalDOMWindow.cpp
|
| @@ -598,21 +598,6 @@ PassRefPtr<CSSStyleDeclaration> LocalDOMWindow::getComputedStyle(Element* elt, c
|
| return CSSComputedStyleDeclaration::create(elt, false, pseudoElt);
|
| }
|
|
|
| -PassRefPtr<CSSRuleList> LocalDOMWindow::getMatchedCSSRules(Element* element, const String& pseudoElement) const
|
| -{
|
| - if (!element)
|
| - return nullptr;
|
| -
|
| - unsigned colonStart = pseudoElement[0] == ':' ? (pseudoElement[1] == ':' ? 2 : 1) : 0;
|
| - CSSSelector::PseudoType pseudoType = CSSSelector::parsePseudoType(AtomicString(pseudoElement.substring(colonStart)));
|
| - if (pseudoType == CSSSelector::PseudoUnknown && !pseudoElement.isEmpty())
|
| - return nullptr;
|
| -
|
| - unsigned rulesToInclude = StyleResolver::AuthorCSSRules;
|
| - PseudoId pseudoId = CSSSelector::pseudoId(pseudoType);
|
| - return m_frame->document()->ensureStyleResolver().pseudoCSSRulesForElement(element, pseudoId, rulesToInclude);
|
| -}
|
| -
|
| double LocalDOMWindow::devicePixelRatio() const
|
| {
|
| if (!m_frame)
|
|
|