Index: third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp |
index e8b7882874c4e4d3757ad2fbd6cd86fc5915a219..17a6302367f3c91a8351ae2714007cbd7ae36e60 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp |
@@ -234,7 +234,7 @@ bool CompositingReasonFinder::requiresCompositingForScrollDependentPosition( |
EPosition position = layer->layoutObject().style()->position(); |
if (position == EPosition::kFixed) |
return layer->fixedToViewport() && m_layoutView.frameView()->isScrollable(); |
- DCHECK(position == EPosition::kSticky); |
+ DCHECK_EQ(position, EPosition::kSticky); |
// Don't promote sticky position elements that cannot move with scrolls. |
if (!layer->sticksToScroller()) |