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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.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/RemoveCSSPropertyCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
index 041171118f1de7683287c4f632df3ac9dc6d25d0..1039d238299cd9824207495dc36537d6d97ad679 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
@@ -39,7 +39,7 @@ RemoveCSSPropertyCommand::RemoveCSSPropertyCommand(Document& document, Element*
, m_property(property)
, m_important(false)
{
- ASSERT(m_element);
+ DCHECK(m_element);
}
RemoveCSSPropertyCommand::~RemoveCSSPropertyCommand()

Powered by Google App Engine
This is Rietveld 408576698