Title: [153890] trunk/Source/WebCore
Revision
153890
Author
akl...@apple.com
Date
2013-08-09 07:14:46 -0700 (Fri, 09 Aug 2013)

Log Message

I wish we had a Windows EWS. :(

* css/ElementRuleCollector.cpp:
(WebCore::ElementRuleCollector::doCollectMatchingRulesForList): No range-based for today.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153889 => 153890)


--- trunk/Source/WebCore/ChangeLog	2013-08-09 14:05:53 UTC (rev 153889)
+++ trunk/Source/WebCore/ChangeLog	2013-08-09 14:14:46 UTC (rev 153890)
@@ -1,3 +1,10 @@
+2013-08-09  Andreas Kling  <akl...@apple.com>
+
+        I wish we had a Windows EWS. :(
+
+        * css/ElementRuleCollector.cpp:
+        (WebCore::ElementRuleCollector::doCollectMatchingRulesForList): No range-based for today.
+
 2013-08-09  Rob Buis  <rwlb...@webkit.org>
 
         ASSERT_NOT_REACHED() touched in WebCore::SVGAnimatedStringAnimator::addAnimatedTypes

Modified: trunk/Source/WebCore/css/ElementRuleCollector.cpp (153889 => 153890)


--- trunk/Source/WebCore/css/ElementRuleCollector.cpp	2013-08-09 14:05:53 UTC (rev 153889)
+++ trunk/Source/WebCore/css/ElementRuleCollector.cpp	2013-08-09 14:14:46 UTC (rev 153890)
@@ -400,7 +400,8 @@
 
     const StyleResolver::State& state = m_state;
 
-    for (const RuleData& ruleData : *rules) {
+    for (unsigned i = 0, size = rules->size(); i < size; ++i) {
+        const RuleData& ruleData = rules->data()[i];
         if (m_canUseFastReject && m_selectorFilter.fastRejectSelector<RuleData::maximumIdentifierCount>(ruleData.descendantSelectorIdentifierHashes()))
             continue;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to