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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp

Issue 2770203002: Replace DCHECK with DCHECK_op and split some DCHECKs wherever necessary (Closed)
Patch Set: Add few more Created 3 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/layout/compositing/CompositingLayerAssigner.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
index c146c8bbb7cbf6abdb39ed4929975891d8bbe732..4fbe496127e1615550203ea106feb6c4840d7bc1 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp
@@ -192,7 +192,7 @@ CompositingLayerAssigner::getReasonsPreventingSquashing(
if (layer->nearestFixedPositionLayer() !=
squashingLayer.nearestFixedPositionLayer())
return SquashingDisallowedReasonNearestFixedPositionMismatch;
- DCHECK(layer->layoutObject().style()->position() != EPosition::kFixed);
+ DCHECK_NE(layer->layoutObject().style()->position(), EPosition::kFixed);
if ((squashingLayer.layoutObject().style()->subtreeWillChangeContents() &&
squashingLayer.layoutObject()

Powered by Google App Engine
This is Rietveld 408576698