Title: [175773] trunk/Source/WebCore
- Revision
- 175773
- Author
- [email protected]
- Date
- 2014-11-07 20:25:45 -0800 (Fri, 07 Nov 2014)
Log Message
Fix the build after r175772
Patch by Benjamin Poulain <[email protected]> on 2014-11-07
* inspector/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (175772 => 175773)
--- trunk/Source/WebCore/ChangeLog 2014-11-08 02:05:36 UTC (rev 175772)
+++ trunk/Source/WebCore/ChangeLog 2014-11-08 04:25:45 UTC (rev 175773)
@@ -1,3 +1,10 @@
+2014-11-07 Benjamin Poulain <[email protected]>
+
+ Fix the build after r175772
+
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
+
2014-11-07 Benjamin Poulain <[email protected]>
Make the Selector's specificity part of Selector matching
Modified: trunk/Source/WebCore/inspector/InspectorCSSAgent.cpp (175772 => 175773)
--- trunk/Source/WebCore/inspector/InspectorCSSAgent.cpp 2014-11-08 02:05:36 UTC (rev 175772)
+++ trunk/Source/WebCore/inspector/InspectorCSSAgent.cpp 2014-11-08 04:25:45 UTC (rev 175773)
@@ -1073,7 +1073,8 @@
const CSSSelectorList& selectorList = matchedStyleRule->selectorList();
long index = 0;
for (const CSSSelector* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector)) {
- bool matched = selectorChecker.match(selector, element, context);
+ unsigned ignoredSpecificity;
+ bool matched = selectorChecker.match(selector, element, context, ignoredSpecificity);
if (matched)
matchingSelectors->addItem(index);
++index;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes