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

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

Issue 1878473002: ASSERT -> DCHECK in core/editing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Output info for some DCHECKs, add TODOs. 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/SetNodeAttributeCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp
index f907bf280f752490f96021d27347d51a5142fc2e..10994938587cc91e239093db3d0a2133ccd9ac0f 100644
--- a/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp
@@ -37,7 +37,7 @@ SetNodeAttributeCommand::SetNodeAttributeCommand(Element* element,
, m_attribute(attribute)
, m_value(value)
{
- ASSERT(m_element);
+ DCHECK(m_element);
}
void SetNodeAttributeCommand::doApply(EditingState*)

Powered by Google App Engine
This is Rietveld 408576698