Index: Source/core/paint/DeprecatedPaintLayer.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp |
index b8b9445a4982bedc21e676c3f7ff7ac8269f7dea..6669a2ea51bcb44a5884e1ecd936977103f3a465 100644 |
--- a/Source/core/paint/DeprecatedPaintLayer.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp |
@@ -1808,6 +1808,8 @@ DeprecatedPaintLayer* DeprecatedPaintLayer::hitTestLayer(DeprecatedPaintLayer* r |
const LayoutRect& hitTestRect, const HitTestLocation& hitTestLocation, bool appliedTransform, |
const HitTestingTransformState* transformState, double* zOffset) |
{ |
+ ASSERT(layoutObject()->document().lifecycle().state() >= DocumentLifecycle::CompositingClean); |
+ |
if (!isSelfPaintingLayer() && !hasSelfPaintingLayerDescendant()) |
return 0; |