Index: Source/core/css/CSSSelector.cpp |
diff --git a/Source/core/css/CSSSelector.cpp b/Source/core/css/CSSSelector.cpp |
index eb8fef6079f50e9ac7108fd6e2b019921edfadb3..a3ecc0894982de95f141a733619f3be8ec8e895d 100644 |
--- a/Source/core/css/CSSSelector.cpp |
+++ b/Source/core/css/CSSSelector.cpp |
@@ -736,7 +736,7 @@ void CSSSelector::setSelectorList(PassOwnPtr<CSSSelectorList> selectorList) |
static bool validateSubSelector(const CSSSelector* selector) |
{ |
- switch (selector->m_match) { |
+ switch (selector->match()) { |
case CSSSelector::Tag: |
case CSSSelector::Id: |
case CSSSelector::Class: |
@@ -749,6 +749,7 @@ static bool validateSubSelector(const CSSSelector* selector) |
case CSSSelector::End: |
return true; |
case CSSSelector::PseudoElement: |
+ case CSSSelector::Unknown: |
return false; |
case CSSSelector::PagePseudoClass: |
case CSSSelector::PseudoClass: |