Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Unified Diff: Source/core/css/RuleFeature.cpp

Issue 90363003: Get rid of useless calls to AtomicString::impl() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/css/SelectorCheckerFastPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleFeature.cpp
diff --git a/Source/core/css/RuleFeature.cpp b/Source/core/css/RuleFeature.cpp
index 755a4b5b2dc318d881e2c89f193cfe22b762f77b..7c8f160ae43f4d7445289aeda1ee292c72301f55 100644
--- a/Source/core/css/RuleFeature.cpp
+++ b/Source/core/css/RuleFeature.cpp
@@ -38,11 +38,11 @@ namespace WebCore {
void RuleFeatureSet::collectFeaturesFromSelector(const CSSSelector* selector)
{
if (selector->m_match == CSSSelector::Id)
- idsInRules.add(selector->value().impl());
+ idsInRules.add(selector->value());
else if (selector->m_match == CSSSelector::Class)
- classesInRules.add(selector->value().impl());
+ classesInRules.add(selector->value());
else if (selector->isAttributeSelector())
- attrsInRules.add(selector->attribute().localName().impl());
+ attrsInRules.add(selector->attribute().localName());
switch (selector->pseudoType()) {
case CSSSelector::PseudoFirstLine:
m_usesFirstLineRules = true;
« no previous file with comments | « no previous file | Source/core/css/SelectorCheckerFastPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698