Index: Source/core/css/PageRuleCollector.cpp |
diff --git a/Source/core/css/PageRuleCollector.cpp b/Source/core/css/PageRuleCollector.cpp |
index 7d9e4ec2b3f173b1eadded95456078ac07d367de..3e8c76f89193be41d7a6ed933862eb88c0dfe967 100644 |
--- a/Source/core/css/PageRuleCollector.cpp |
+++ b/Source/core/css/PageRuleCollector.cpp |
@@ -87,7 +87,7 @@ void PageRuleCollector::matchPageRules(RuleSet* rules) |
static bool checkPageSelectorComponents(const CSSSelector* selector, bool isLeftPage, bool isFirstPage, const String& pageName) |
{ |
for (const CSSSelector* component = selector; component; component = component->tagHistory()) { |
- if (component->m_match == CSSSelector::Tag) { |
+ if (component->match() == CSSSelector::Tag) { |
const AtomicString& localName = component->tagQName().localName(); |
if (localName != starAtom && localName != pageName) |
return false; |