Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp |
index a353983f55b72b6361f9dc5687e86e18bef53b29..5b95df721e9008e54c3f654ebdac088e898145c3 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp |
@@ -430,7 +430,7 @@ void HTMLDocumentParser::validateSpeculations(PassOwnPtr<ParsedChunk> chunk) |
// speculation buffer in other states, but we'd likely need to do something more |
// sophisticated with the HTMLToken. |
if (chunk->tokenizerState == HTMLTokenizer::DataState |
- && tokenizer->state() == HTMLTokenizer::DataState |
+ && tokenizer->getState() == HTMLTokenizer::DataState |
&& m_input.current().isEmpty() |
&& chunk->treeBuilderState == HTMLTreeBuilderSimulator::stateFor(m_treeBuilder.get())) { |
ASSERT(token->isUninitialized()); |
@@ -680,7 +680,7 @@ void HTMLDocumentParser::pumpTokenizer() |
RELEASE_ASSERT(!isStopped()); |
if (isWaitingForScripts()) { |
- ASSERT(m_tokenizer->state() == HTMLTokenizer::DataState); |
+ ASSERT(m_tokenizer->getState() == HTMLTokenizer::DataState); |
ASSERT(m_preloader); |
// TODO(kouhei): m_preloader should be always available for synchronous parsing case, |