Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp

Issue 1820083005: Remove platform/NotImplemented.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698