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

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

Issue 18196004: Revert 153294 "Remove AtomicStringImpl." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 6 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 | « trunk/Source/core/css/RuleFeature.h ('k') | trunk/Source/core/css/RuleSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/css/RuleFeature.cpp
===================================================================
--- trunk/Source/core/css/RuleFeature.cpp (revision 153372)
+++ trunk/Source/core/css/RuleFeature.cpp (working copy)
@@ -59,14 +59,14 @@
void RuleFeatureSet::add(const RuleFeatureSet& other)
{
- HashSet<StringImpl*>::const_iterator end = other.idsInRules.end();
- for (HashSet<StringImpl*>::const_iterator it = other.idsInRules.begin(); it != end; ++it)
+ HashSet<AtomicStringImpl*>::const_iterator end = other.idsInRules.end();
+ for (HashSet<AtomicStringImpl*>::const_iterator it = other.idsInRules.begin(); it != end; ++it)
idsInRules.add(*it);
end = other.classesInRules.end();
- for (HashSet<StringImpl*>::const_iterator it = other.classesInRules.begin(); it != end; ++it)
+ for (HashSet<AtomicStringImpl*>::const_iterator it = other.classesInRules.begin(); it != end; ++it)
classesInRules.add(*it);
end = other.attrsInRules.end();
- for (HashSet<StringImpl*>::const_iterator it = other.attrsInRules.begin(); it != end; ++it)
+ for (HashSet<AtomicStringImpl*>::const_iterator it = other.attrsInRules.begin(); it != end; ++it)
attrsInRules.add(*it);
siblingRules.append(other.siblingRules);
uncommonAttributeRules.append(other.uncommonAttributeRules);
« no previous file with comments | « trunk/Source/core/css/RuleFeature.h ('k') | trunk/Source/core/css/RuleSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698