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

Unified Diff: Source/core/css/SelectorCheckerFastPath.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 | « Source/core/css/RuleFeature.cpp ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/SelectorCheckerFastPath.cpp
diff --git a/Source/core/css/SelectorCheckerFastPath.cpp b/Source/core/css/SelectorCheckerFastPath.cpp
index 8e6d350e16c865212c86a0e4e74f80fc20d29982..557f0438a56dc618b8a51d282558e5063d64c543 100644
--- a/Source/core/css/SelectorCheckerFastPath.cpp
+++ b/Source/core/css/SelectorCheckerFastPath.cpp
@@ -75,12 +75,12 @@ inline bool fastCheckSingleSelector(const CSSSelector*& selector, const Element*
inline bool checkClassValue(const Element& element, const CSSSelector* selector)
{
- return element.hasClass() && element.classNames().contains(selector->value().impl());
+ return element.hasClass() && element.classNames().contains(selector->value());
}
inline bool checkIDValue(const Element& element, const CSSSelector* selector)
{
- return element.hasID() && element.idForStyleResolution().impl() == selector->value().impl();
+ return element.hasID() && element.idForStyleResolution() == selector->value();
}
inline bool checkExactAttributeValue(const Element& element, const CSSSelector* selector)
« no previous file with comments | « Source/core/css/RuleFeature.cpp ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698