Index: Source/core/dom/ElementData.h |
diff --git a/Source/core/dom/ElementData.h b/Source/core/dom/ElementData.h |
index 1c6a5d1756b0a6098d670b5e94ca1e6cb725c4ae..3399df2850f1a5dba96c480a91c3723f25cf7bef 100644 |
--- a/Source/core/dom/ElementData.h |
+++ b/Source/core/dom/ElementData.h |
@@ -60,7 +60,7 @@ public: |
#endif |
void clearClass() const { m_classNames.clear(); } |
- void setClass(const AtomicString& className, bool shouldFoldCase) const { m_classNames.set(className, shouldFoldCase); } |
+ void setClass(const AtomicString& className, bool shouldFoldCase) const { m_classNames.set(className, shouldFoldCase ? SpaceSplitString::ShouldFoldCase : SpaceSplitString::ShouldNotFoldCase); } |
const SpaceSplitString& classNames() const { return m_classNames; } |
const AtomicString& idForStyleResolution() const { return m_idForStyleResolution; } |