Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: third_party/WebKit/Source/core/css/CSSTestHelper.cpp

Issue 1637273003: PageRule should not serialize @page in selectorText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win build problem Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698