Index: Source/core/css/CSSParserValues.cpp |
diff --git a/Source/core/css/CSSParserValues.cpp b/Source/core/css/CSSParserValues.cpp |
index 4ccb95613b326054b8e72084b27ab19da91548b2..484272de759de25a1b11febfb763ab2920198f03 100644 |
--- a/Source/core/css/CSSParserValues.cpp |
+++ b/Source/core/css/CSSParserValues.cpp |
@@ -29,26 +29,6 @@ namespace WebCore { |
using namespace WTF; |
-AtomicString CSSParserString::atomicSubstring(unsigned position, unsigned length) const |
-{ |
- ASSERT(m_length >= position + length); |
- |
- if (is8Bit()) |
- return AtomicString(characters8() + position, length); |
- return AtomicString(characters16() + position, length); |
-} |
- |
-void CSSParserString::trimTrailingWhitespace() |
-{ |
- if (is8Bit()) { |
- while (m_length > 0 && isHTMLSpace<LChar>(m_data.characters8[m_length - 1])) |
- --m_length; |
- } else { |
- while (m_length > 0 && isHTMLSpace<UChar>(m_data.characters16[m_length - 1])) |
- --m_length; |
- } |
-} |
- |
CSSParserValueList::~CSSParserValueList() |
{ |
size_t numValues = m_values.size(); |
@@ -70,11 +50,6 @@ void CSSParserValueList::insertValueAt(unsigned i, const CSSParserValue& v) |
m_values.insert(i, v); |
} |
-void CSSParserValueList::deleteValueAt(unsigned i) |
-{ |
- m_values.remove(i); |
-} |
- |
void CSSParserValueList::stealValues(CSSParserValueList& valueList) |
{ |
for (unsigned i = 0; i < valueList.size(); ++i) |