| Index: Source/core/rendering/RenderLayer.cpp
|
| diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
|
| index 7e711c8b1a2d9d769e85d0c1db7af10eb3da6204..dd607e5e4e0eaf4c6ea51d167309af6a666ae700 100644
|
| --- a/Source/core/rendering/RenderLayer.cpp
|
| +++ b/Source/core/rendering/RenderLayer.cpp
|
| @@ -2038,7 +2038,7 @@ void RenderLayer::paintChildren(unsigned childrenToVisit, GraphicsContext* conte
|
| if (!hasSelfPaintingLayerDescendant())
|
| return;
|
|
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| LayerListMutationDetector mutationChecker(m_stackingNode.get());
|
| #endif
|
|
|
| @@ -3181,7 +3181,7 @@ static void expandRectForReflectionAndStackingChildren(const RenderLayer* ancest
|
|
|
| ASSERT(ancestorLayer->stackingNode()->isStackingContext() || !ancestorLayer->stackingNode()->hasPositiveZOrderList());
|
|
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| LayerListMutationDetector mutationChecker(const_cast<RenderLayer*>(ancestorLayer)->stackingNode());
|
| #endif
|
|
|
|
|