Chromium Code Reviews| Index: Source/core/dom/SpaceSplitString.h |
| diff --git a/Source/core/dom/SpaceSplitString.h b/Source/core/dom/SpaceSplitString.h |
| index c5f47adb6c6173cd23969dcff3e9af3013490683..12fc5c6cf2181314464f86aa8d45c520d837798a 100644 |
| --- a/Source/core/dom/SpaceSplitString.h |
| +++ b/Source/core/dom/SpaceSplitString.h |
| @@ -27,14 +27,19 @@ |
| namespace blink { |
| +enum SplitStringCase { |
|
Mike West
2015/03/26 19:33:05
I'd prefer you to move this into SpaceSplitString
|
| + ShouldNotFoldCase, |
| + ShouldFoldCase |
| +}; |
| + |
| class SpaceSplitString { |
| public: |
| SpaceSplitString() { } |
| - SpaceSplitString(const AtomicString& string, bool shouldFoldCase) { set(string, shouldFoldCase); } |
| + SpaceSplitString(const AtomicString& string, SplitStringCase splitStringCase) { set(string, splitStringCase); } |
| bool operator!=(const SpaceSplitString& other) const { return m_data != other.m_data; } |
| - void set(const AtomicString&, bool shouldFoldCase); |
| + void set(const AtomicString&, SplitStringCase); |
| void clear() { m_data.clear(); } |
| bool contains(const AtomicString& string) const { return m_data && m_data->contains(string); } |