Title: [251291] trunk/Source/WebCore
Revision
251291
Author
[email protected]
Date
2019-10-18 11:46:54 -0700 (Fri, 18 Oct 2019)

Log Message

ElementRuleCollector function signature cleanups
https://bugs.webkit.org/show_bug.cgi?id=203153
<rdar://problem/56412684>

Unreviewed followup.

* css/ElementRuleCollector.cpp:
(WebCore::ElementRuleCollector::transferMatchedRules):

Try to appease MSVC.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (251290 => 251291)


--- trunk/Source/WebCore/ChangeLog	2019-10-18 18:29:11 UTC (rev 251290)
+++ trunk/Source/WebCore/ChangeLog	2019-10-18 18:46:54 UTC (rev 251291)
@@ -1,3 +1,16 @@
+2019-10-18  Antti Koivisto  <[email protected]>
+
+        ElementRuleCollector function signature cleanups
+        https://bugs.webkit.org/show_bug.cgi?id=203153
+        <rdar://problem/56412684>
+
+        Unreviewed followup.
+
+        * css/ElementRuleCollector.cpp:
+        (WebCore::ElementRuleCollector::transferMatchedRules):
+
+        Try to appease MSVC.
+
 2019-10-18  Said Abou-Hallawa  <[email protected]>
 
         Load event must be fired only for the SVG structurally external elements and the outermost SVG element

Modified: trunk/Source/WebCore/css/ElementRuleCollector.cpp (251290 => 251291)


--- trunk/Source/WebCore/css/ElementRuleCollector.cpp	2019-10-18 18:29:11 UTC (rev 251290)
+++ trunk/Source/WebCore/css/ElementRuleCollector.cpp	2019-10-18 18:46:54 UTC (rev 251291)
@@ -184,6 +184,8 @@
         case DeclarationOrigin::Author: return m_result.ranges.authorRuleRange();
         case DeclarationOrigin::User: return m_result.ranges.userRuleRange();
         }
+        ASSERT_NOT_REACHED();
+        return m_result.ranges.authorRuleRange();
     }();
 
     // FIXME: Range updating should be done by MatchResults type
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to