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

Unified Diff: third_party/WebKit/Source/core/page/TouchAdjustment.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/TouchAdjustment.cpp
diff --git a/third_party/WebKit/Source/core/page/TouchAdjustment.cpp b/third_party/WebKit/Source/core/page/TouchAdjustment.cpp
index a90771ff6405babca1504d871e19d0ee611c4dec..7b3e2e61209122e7b43384c4928e05443ae8478b 100644
--- a/third_party/WebKit/Source/core/page/TouchAdjustment.cpp
+++ b/third_party/WebKit/Source/core/page/TouchAdjustment.cpp
@@ -117,7 +117,7 @@ bool ProvidesContextMenuItems(Node* node) {
// This function tries to match the nodes that receive special context-menu
// items in ContextMenuController::populate(), and should be kept uptodate
// with those.
- ASSERT(node->GetLayoutObject() || node->IsShadowRoot());
+ DCHECK(node->GetLayoutObject() || node->IsShadowRoot());
if (!node->GetLayoutObject())
return false;
node->GetDocument().UpdateStyleAndLayoutTree();

Powered by Google App Engine
This is Rietveld 408576698