| Index: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
|
| index 591874b0ff9241bdf8228357ba10a9b8f56b159f..3d8aecafbd20c837aa4ae5521d10b70aa0892792 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
|
| @@ -44,7 +44,6 @@
|
| #include "core/html/parser/HTMLStackItem.h"
|
| #include "core/html/parser/HTMLToken.h"
|
| #include "core/html/parser/HTMLTokenizer.h"
|
| -#include "platform/NotImplemented.h"
|
| #include "platform/text/PlatformLocale.h"
|
| #include "wtf/text/CharacterNames.h"
|
|
|
| @@ -1464,7 +1463,7 @@ bool HTMLTreeBuilder::processBodyEndTagForInBody(AtomicHTMLToken* token)
|
| parseError(token);
|
| return false;
|
| }
|
| - notImplemented(); // Emit a more specific parse error based on stack contents.
|
| + NOTIMPLEMENTED(); // Emit a more specific parse error based on stack contents.
|
| setInsertionMode(AfterBodyMode);
|
| return true;
|
| }
|
| @@ -1512,7 +1511,7 @@ void HTMLTreeBuilder::callTheAdoptionAgency(AtomicHTMLToken* token)
|
| // 4.c
|
| if ((m_tree.openElements()->contains(formattingElement)) && !m_tree.openElements()->inScope(formattingElement)) {
|
| parseError(token);
|
| - notImplemented(); // Check the stack of open elements for a more specific parse error.
|
| + NOTIMPLEMENTED(); // Check the stack of open elements for a more specific parse error.
|
| return;
|
| }
|
| // 4.b
|
| @@ -2464,7 +2463,7 @@ void HTMLTreeBuilder::processEndOfFile(AtomicHTMLToken* token)
|
| case InCaptionMode:
|
| case InRowMode:
|
| ASSERT(getInsertionMode() == InBodyMode || getInsertionMode() == InCellMode || getInsertionMode() == InCaptionMode || getInsertionMode() == InRowMode || getInsertionMode() == TemplateContentsMode);
|
| - notImplemented(); // Emit parse error based on what elements are still open.
|
| + NOTIMPLEMENTED(); // Emit parse error based on what elements are still open.
|
| if (!m_templateInsertionModes.isEmpty() && processEndOfFileForInTemplateContents(token))
|
| return;
|
| break;
|
| @@ -2507,7 +2506,7 @@ void HTMLTreeBuilder::processEndOfFile(AtomicHTMLToken* token)
|
| case TextMode:
|
| parseError(token);
|
| if (m_tree.currentStackItem()->hasTagName(scriptTag))
|
| - notImplemented(); // mark the script element as "already started".
|
| + NOTIMPLEMENTED(); // mark the script element as "already started".
|
| m_tree.openElements()->pop();
|
| ASSERT(m_originalInsertionMode != TextMode);
|
| setInsertionMode(m_originalInsertionMode);
|
| @@ -2523,7 +2522,7 @@ void HTMLTreeBuilder::processEndOfFile(AtomicHTMLToken* token)
|
|
|
| void HTMLTreeBuilder::defaultForInitial()
|
| {
|
| - notImplemented();
|
| + NOTIMPLEMENTED();
|
| m_tree.setDefaultCompatibilityMode();
|
| // FIXME: parse error
|
| setInsertionMode(BeforeHTMLMode);
|
|
|