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

Unified Diff: third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp

Issue 1878473002: ASSERT -> DCHECK in core/editing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation. Created 4 years, 8 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/editing/commands/AppendNodeCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp
index 3def420ea92039faadf36460051656cefa4acded..559694e98f1a6deac2e5b4e11015f0c06495079a 100644
--- a/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/AppendNodeCommand.cpp
@@ -34,11 +34,11 @@ AppendNodeCommand::AppendNodeCommand(RawPtr<ContainerNode> parent, RawPtr<Node>
, m_parent(parent)
, m_node(node)
{
- ASSERT(m_parent);
- ASSERT(m_node);
- ASSERT(!m_node->parentNode());
+ DCHECK(m_parent);
+ DCHECK(m_node);
+ DCHECK(!m_node->parentNode());
- ASSERT(m_parent->hasEditableStyle() || !m_parent->inActiveDocument());
+ DCHECK(m_parent->hasEditableStyle() || !m_parent->inActiveDocument());
}
void AppendNodeCommand::doApply(EditingState*)

Powered by Google App Engine
This is Rietveld 408576698