Index: third_party/WebKit/Source/core/css/CSSTestHelper.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSTestHelper.cpp b/third_party/WebKit/Source/core/css/CSSTestHelper.cpp |
index 10c1fc61cf9382ca98b7472a5212f44ded1e374a..ab513d8edbace4d844f6ef61757544ed92cf3e9a 100644 |
--- a/third_party/WebKit/Source/core/css/CSSTestHelper.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSTestHelper.cpp |
@@ -50,6 +50,11 @@ CSSTestHelper::CSSTestHelper() |
m_styleSheet = CSSStyleSheet::createInline(m_document.get(), KURL(), position, "UTF-8"); |
} |
+CSSRuleList* CSSTestHelper::cssRules() |
+{ |
+ return m_styleSheet->cssRules().get(); |
+} |
+ |
RuleSet& CSSTestHelper::ruleSet() |
{ |
RuleSet& ruleSet = m_styleSheet->contents()->ensureRuleSet(MediaQueryEvaluator(), RuleHasNoSpecialState); |