| Index: Source/core/rendering/RenderLayer.cpp
|
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
|
| index 8a369d5c25d5551a5efbdff7e2fe72846da4463a..041337f6fd6b25e64b4d608d8c43317525dc7f92 100644
|
| --- a/Source/core/rendering/RenderLayer.cpp
|
| +++ b/Source/core/rendering/RenderLayer.cpp
|
| @@ -2182,7 +2182,7 @@ void RenderLayer::paintChildren(unsigned childrenToVisit, GraphicsContext* conte
|
| if (!hasSelfPaintingLayerDescendant())
|
| return;
|
|
|
| -#if !ASSERT_DISABLED
|
| +#if ASSERT_ENABLED
|
| LayerListMutationDetector mutationChecker(m_stackingNode.get());
|
| #endif
|
|
|
| @@ -3306,7 +3306,7 @@ LayoutRect RenderLayer::physicalBoundingBoxIncludingReflectionAndStackingChildre
|
|
|
| const_cast<RenderLayer*>(this)->stackingNode()->updateLayerListsIfNeeded();
|
|
|
| -#if !ASSERT_DISABLED
|
| +#if ASSERT_ENABLED
|
| LayerListMutationDetector mutationChecker(const_cast<RenderLayer*>(this)->stackingNode());
|
| #endif
|
|
|
| @@ -3376,7 +3376,7 @@ LayoutRect RenderLayer::boundingBoxForCompositing(const RenderLayer* ancestorLay
|
|
|
| ASSERT(m_stackingNode->isStackingContext() || !m_stackingNode->hasPositiveZOrderList());
|
|
|
| -#if !ASSERT_DISABLED
|
| +#if ASSERT_ENABLED
|
| LayerListMutationDetector mutationChecker(const_cast<RenderLayer*>(this)->stackingNode());
|
| #endif
|
|
|
|
|