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

Unified Diff: third_party/WebKit/Source/core/page/ContextMenuController.cpp

Issue 2896443003: Replace remaining ASSERT with DCHECK/_EQ as appropriate (Closed)
Patch Set: Created 3 years, 7 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/page/ContextMenuController.cpp
diff --git a/third_party/WebKit/Source/core/page/ContextMenuController.cpp b/third_party/WebKit/Source/core/page/ContextMenuController.cpp
index e48f194365d82d8a967cfd1846366efe66694b4a..4372fbbf37747f56d40d489bc83740baf80889b7 100644
--- a/third_party/WebKit/Source/core/page/ContextMenuController.cpp
+++ b/third_party/WebKit/Source/core/page/ContextMenuController.cpp
@@ -174,7 +174,7 @@ void ContextMenuController::ShowContextMenu(Event* event) {
void ContextMenuController::ContextMenuItemSelected(
const ContextMenuItem* item) {
- ASSERT(item->GetType() == kActionType ||
+ DCHECK(item->GetType() == kActionType ||
item->GetType() == kCheckableActionType);
if (item->Action() < kContextMenuItemBaseCustomTag ||

Powered by Google App Engine
This is Rietveld 408576698