Index: Source/core/css/analyzer/DescendantInvalidationSet.cpp |
diff --git a/Source/core/css/analyzer/DescendantInvalidationSet.cpp b/Source/core/css/analyzer/DescendantInvalidationSet.cpp |
index 6249f197e84095c9c95f51e3d1ec75114840cdb6..6695f4e55740fa73ddaed0549219c1fa8ab4be4c 100644 |
--- a/Source/core/css/analyzer/DescendantInvalidationSet.cpp |
+++ b/Source/core/css/analyzer/DescendantInvalidationSet.cpp |
@@ -76,4 +76,11 @@ void DescendantInvalidationSet::addTagName(const AtomicString& tagName) |
m_tagNames.add(tagName); |
} |
+void DescendantInvalidationSet::getClasses(Vector<AtomicString>& classes) |
+{ |
+ for (HashSet<AtomicString>::const_iterator it = m_classes.begin(); it != m_classes.end(); ++it) { |
ojan
2014/01/30 19:08:39
No curlies
chrishtr
2014/01/30 19:25:48
Done.
|
+ classes.append(*it); |
+ } |
+} |
+ |
} // namespace WebCore |