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

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

Issue 2751483005: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/html/parser/ (Closed)
Patch Set: rebase Created 3 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/HTMLTreeBuilderSimulator.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.cpp b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.cpp
index fcc0638d4bf9cb259f5adc868f1b7772511b291b..faa909c985708b08d05494644b7dd200613c0cff 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.cpp
@@ -108,7 +108,7 @@ HTMLTreeBuilderSimulator::HTMLTreeBuilderSimulator(
HTMLTreeBuilderSimulator::State HTMLTreeBuilderSimulator::stateFor(
HTMLTreeBuilder* treeBuilder) {
- ASSERT(isMainThread());
+ DCHECK(isMainThread());
State namespaceStack;
for (HTMLElementStack::ElementRecord* record =
treeBuilder->openElements()->topRecord();

Powered by Google App Engine
This is Rietveld 408576698