Index: Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp |
index 5a9d1040424ada63c6f4927548a75507b45ea57b..b28855f294fa45322eb93509af4368ceaf64c0e1 100644 |
--- a/Source/core/inspector/InspectorCSSAgent.cpp |
+++ b/Source/core/inspector/InspectorCSSAgent.cpp |
@@ -1607,7 +1607,7 @@ PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > InspectorCSSAgent:: |
bool matched = false; |
if (elementPseudoId) |
matched = matchesPseudoElement(selector, elementPseudoId); // Modifies |selector|. |
- matched |= element->webkitMatchesSelector(firstTagHistorySelector->selectorText(), IGNORE_EXCEPTION); |
+ matched |= element->matches(firstTagHistorySelector->selectorText(), IGNORE_EXCEPTION); |
if (matched) |
matchingSelectors->addItem(index); |
++index; |