Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index f236ba9ffb9ac6572bfa2cf2cdf15a21823dd411..85e510462201244d629550a45577b7fc62f1d549 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -344,7 +344,7 @@ void StyleResolver::collectFeatures() |
bool StyleResolver::hasRulesForId(const AtomicString& id) const |
{ |
- return m_features.idsInRules.contains(id.impl()); |
+ return m_features.idsInRules.contains(id); |
} |
void StyleResolver::addToStyleSharingList(Element& element) |
@@ -641,7 +641,7 @@ static inline void resetDirectionAndWritingModeOnDocument(Document& document) |
static void addContentAttrValuesToFeatures(const Vector<AtomicString>& contentAttrValues, RuleFeatureSet& features) |
{ |
for (size_t i = 0; i < contentAttrValues.size(); ++i) |
- features.attrsInRules.add(contentAttrValues[i].impl()); |
+ features.attrsInRules.add(contentAttrValues[i]); |
} |
PassRefPtr<RenderStyle> StyleResolver::styleForElement(Element* element, RenderStyle* defaultParent, StyleSharingBehavior sharingBehavior, |