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

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

Issue 1836843002: Replace notImplemented() in core/html/parser/ with DVLOG(1). (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
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..aa2ba64457acc642bd13f086bad64c49fea7608b 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
@@ -1464,7 +1464,7 @@ bool HTMLTreeBuilder::processBodyEndTagForInBody(AtomicHTMLToken* token)
parseError(token);
return false;
}
- notImplemented(); // Emit a more specific parse error based on stack contents.
+ DVLOG(1) << "Not implmeneted."; // Emit a more specific parse error based on stack contents.
setInsertionMode(AfterBodyMode);
return true;
}
@@ -1512,7 +1512,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.
+ DVLOG(1) << "Not implemented."; // Check the stack of open elements for a more specific parse error.
return;
}
// 4.b
@@ -2464,7 +2464,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.
+ DVLOG(1) << "Not implemented."; // Emit parse error based on what elements are still open.
if (!m_templateInsertionModes.isEmpty() && processEndOfFileForInTemplateContents(token))
return;
break;
@@ -2507,7 +2507,7 @@ void HTMLTreeBuilder::processEndOfFile(AtomicHTMLToken* token)
case TextMode:
parseError(token);
if (m_tree.currentStackItem()->hasTagName(scriptTag))
- notImplemented(); // mark the script element as "already started".
+ DVLOG(1) << "Not implemented."; // mark the script element as "already started".
m_tree.openElements()->pop();
ASSERT(m_originalInsertionMode != TextMode);
setInsertionMode(m_originalInsertionMode);
@@ -2523,7 +2523,7 @@ void HTMLTreeBuilder::processEndOfFile(AtomicHTMLToken* token)
void HTMLTreeBuilder::defaultForInitial()
{
- notImplemented();
+ DVLOG(1) << "Not implemented.";
m_tree.setDefaultCompatibilityMode();
// FIXME: parse error
setInsertionMode(BeforeHTMLMode);
« no previous file with comments | « third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698