| Index: Source/core/html/parser/HTMLTokenizer.cpp
|
| diff --git a/Source/core/html/parser/HTMLTokenizer.cpp b/Source/core/html/parser/HTMLTokenizer.cpp
|
| index 7fe2b4c06d9b62abbdd583284a592792c6172cf7..47b00b223c7a843dbc1adb1e6f832b9e59b8e9fa 100644
|
| --- a/Source/core/html/parser/HTMLTokenizer.cpp
|
| +++ b/Source/core/html/parser/HTMLTokenizer.cpp
|
| @@ -124,37 +124,6 @@ void HTMLTokenizer::reset()
|
| m_additionalAllowedCharacter = '\0';
|
| }
|
|
|
| -bool HTMLTokenizer::canCreateCheckpoint() const
|
| -{
|
| - if (!m_appropriateEndTagName.isEmpty())
|
| - return false;
|
| - if (!m_temporaryBuffer.isEmpty())
|
| - return false;
|
| - if (!m_bufferedEndTagName.isEmpty())
|
| - return false;
|
| - return true;
|
| -}
|
| -
|
| -void HTMLTokenizer::createCheckpoint(Checkpoint& result) const
|
| -{
|
| - ASSERT(canCreateCheckpoint());
|
| - result.options = m_options;
|
| - result.state = m_state;
|
| - result.additionalAllowedCharacter = m_additionalAllowedCharacter;
|
| - result.skipNextNewLine = m_inputStreamPreprocessor.skipNextNewLine();
|
| - result.shouldAllowCDATA = m_shouldAllowCDATA;
|
| -}
|
| -
|
| -void HTMLTokenizer::restoreFromCheckpoint(const Checkpoint& checkpoint)
|
| -{
|
| - m_token = 0;
|
| - m_options = checkpoint.options;
|
| - m_state = checkpoint.state;
|
| - m_additionalAllowedCharacter = checkpoint.additionalAllowedCharacter;
|
| - m_inputStreamPreprocessor.reset(checkpoint.skipNextNewLine);
|
| - m_shouldAllowCDATA = checkpoint.shouldAllowCDATA;
|
| -}
|
| -
|
| inline bool HTMLTokenizer::processEntity(SegmentedString& source)
|
| {
|
| bool notEnoughCharacters = false;
|
|
|