Try to fix windows build.
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jan 2018 17:01:23 +0000 (17:01 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jan 2018 17:01:23 +0000 (17:01 +0000)
* css/RuleFeature.cpp:
(WebCore::RuleFeatureSet::computeNextMatchElement):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226718 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/RuleFeature.cpp

index 307c0ea..1de9c04 100644 (file)
@@ -1,3 +1,10 @@
+2018-01-10  Antti Koivisto  <antti@apple.com>
+
+        Try to fix windows build.
+
+        * css/RuleFeature.cpp:
+        (WebCore::RuleFeatureSet::computeNextMatchElement):
+
 2018-01-10  Zalan Bujtas  <zalan@apple.com>
 
         [RenderTreeBuilder] Move RenderRuby's moveChildren logic to RenderTreeBuilder
index 2447d38..99ab5f7 100644 (file)
@@ -65,6 +65,8 @@ RuleFeatureSet::MatchElement RuleFeatureSet::computeNextMatchElement(MatchElemen
     case CSSSelector::ShadowDescendant:
         return MatchElement::Host;
     };
+    ASSERT_NOT_REACHED();
+    return matchElement;
 };
 
 RuleFeatureSet::MatchElement RuleFeatureSet::computeSubSelectorMatchElement(MatchElement matchElement, const CSSSelector& selector)