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(); |