Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
index 6aa246a751a34c29f6188630e8fc544454e7db43..9f72816468ebfb7546bae6796fad8269a661b52d 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
@@ -1754,7 +1754,7 @@ PaintLayer* PaintLayer::hitTestLayer(PaintLayer* rootLayer, PaintLayer* containe |
const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, bool appliedTransform, |
const HitTestingTransformState* transformState, double* zOffset) |
{ |
- ASSERT(layoutObject()->document().lifecycle().state() >= DocumentLifecycle::CompositingClean); |
+ DCHECK(layoutObject()->document().lifecycle().state() >= DocumentLifecycle::PrePaintClean); |
if (!isSelfPaintingLayer() && !hasSelfPaintingLayerDescendant()) |
return nullptr; |