Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 45ff5c326d6a6bf146c7c1bd35870a4174f8f4e0..d6a0b74fcd50af35d9d902bded723b2d400070bd 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -1045,7 +1045,7 @@ static inline bool classStringHasClassName(const AtomicString& newClassString) |
} |
template<typename Checker> |
-static bool checkSelectorForClassChange(const SpaceSplitString& changedClasses, const Checker& checker) |
+bool checkSelectorForClassChange(const SpaceSplitString& changedClasses, const Checker& checker) |
esprehn
2014/01/15 04:27:32
It doesn't seem like you need to touch this file a
chrishtr
2014/01/15 18:28:21
Done.
|
{ |
unsigned changedSize = changedClasses.size(); |
for (unsigned i = 0; i < changedSize; ++i) { |
@@ -1056,7 +1056,7 @@ static bool checkSelectorForClassChange(const SpaceSplitString& changedClasses, |
} |
template<typename Checker> |
-static bool checkSelectorForClassChange(const SpaceSplitString& oldClasses, const SpaceSplitString& newClasses, const Checker& checker) |
+bool checkSelectorForClassChange(const SpaceSplitString& oldClasses, const SpaceSplitString& newClasses, const Checker& checker) |
{ |
if (!oldClasses.size()) |
return checkSelectorForClassChange(newClasses, checker); |
@@ -1084,6 +1084,7 @@ static bool checkSelectorForClassChange(const SpaceSplitString& oldClasses, cons |
for (unsigned i = 0; i < oldClasses.size(); ++i) { |
if (remainingClassBits.quickGet(i)) |
continue; |
+ |
// Class was removed. |
if (checker.hasSelectorForClass(oldClasses[i])) |
return true; |