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

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

Issue 19804005: Remove AtomicStringImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months 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 | « Source/core/css/MediaQueryEvaluator.cpp ('k') | Source/core/css/RuleSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleFeature.h
diff --git a/Source/core/css/RuleFeature.h b/Source/core/css/RuleFeature.h
index c7b28ab7dbf8ac3ab3c379e3ef415d1dd84ba260..ed7f0d74ebd9a16647172cbbc3d979571cd9e8ce 100644
--- a/Source/core/css/RuleFeature.h
+++ b/Source/core/css/RuleFeature.h
@@ -59,22 +59,22 @@ public:
bool usesFirstLineRules() const { return m_usesFirstLineRules; }
bool usesBeforeAfterRules() const { return m_usesBeforeAfterRules; }
- inline bool hasSelectorForAttribute(const AtomicString &attributeName) const
+ inline bool hasSelectorForAttribute(const AtomicString& attributeName) const
{
ASSERT(!attributeName.isEmpty());
- return attrsInRules.contains(attributeName.impl());
+ return attrsInRules.contains(attributeName);
}
inline bool hasSelectorForClass(const AtomicString& classValue) const
{
ASSERT(!classValue.isEmpty());
- return classesInRules.contains(classValue.impl());
+ return classesInRules.contains(classValue);
}
inline bool hasSelectorForId(const AtomicString& idValue) const
{
ASSERT(!idValue.isEmpty());
- return idsInRules.contains(idValue.impl());
+ return idsInRules.contains(idValue);
}
HashSet<AtomicString> idsInRules;
« no previous file with comments | « Source/core/css/MediaQueryEvaluator.cpp ('k') | Source/core/css/RuleSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698