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

Unified Diff: third_party/WebKit/Source/core/editing/commands/UndoStack.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/UndoStack.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/UndoStack.cpp b/third_party/WebKit/Source/core/editing/commands/UndoStack.cpp
index 61dd173b470d55635ca929f166c45681b3633327..778e50f556ffbc4e5bc36735d705130aae9856a5 100644
--- a/third_party/WebKit/Source/core/editing/commands/UndoStack.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/UndoStack.cpp
@@ -110,7 +110,7 @@ void UndoStack::redo()
UndoStep* step(back->get());
m_redoStack.remove(back);
- ASSERT(!m_inRedo);
+ DCHECK(!m_inRedo);
TemporaryChange<bool> redoScope(m_inRedo, true);
step->reapply();
// reapply will call us back to push this command onto the undo stack.

Powered by Google App Engine
This is Rietveld 408576698