| Index: Source/core/frame/DOMWindow.cpp
|
| diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp
|
| index 15a499eed8652e0d313279030c78d9f2f4ba5fc9..93ba50dba3466a34a7e316bd7d627ee0320c793b 100644
|
| --- a/Source/core/frame/DOMWindow.cpp
|
| +++ b/Source/core/frame/DOMWindow.cpp
|
| @@ -1338,7 +1338,9 @@ PassRefPtr<CSSRuleList> DOMWindow::getMatchedCSSRules(Element* element, const St
|
|
|
| PseudoId pseudoId = CSSSelector::pseudoId(pseudoType);
|
|
|
| - return m_frame->document()->styleResolver()->pseudoCSSRulesForElement(element, pseudoId, rulesToInclude);
|
| + StyleResolver* styleResolver = m_frame->document()->styleResolver();
|
| + appendPendingStyleSheetsIfNeeded(styleResolver);
|
| + return styleResolver->pseudoCSSRulesForElement(element, pseudoId, rulesToInclude);
|
| }
|
|
|
| PassRefPtr<DOMPoint> DOMWindow::webkitConvertPointFromNodeToPage(Node* node, const DOMPoint* p) const
|
|
|