Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index cdfa3a72851e8005b125f67f28d907238286c97d..82651f985500ae70882547b9d4dad3a933c3beaf 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -2480,14 +2480,6 @@ void FrameView::updateLifecyclePhasesInternal(LifeCycleUpdateOption phases) |
|| (RuntimeEnabledFeatures::slimmingPaintV2Enabled() && lifecycle().state() == DocumentLifecycle::CompositingForSlimmingPaintV2Clean)); |
} |
} |
- |
-#ifndef NDEBUG |
- // TODO(jchaffraix): We will want to clear the clip rects in release too |
- // to reduce our long-term memory consumption. However this requires us |
- // to migrate all of the clip rects to the state machine and evaluate |
- // the performance impacts of this. |
- layoutView()->layer()->clipper().clearClipRectsIncludingDescendants(AbsoluteClipRects); |
-#endif |
} |
void FrameView::paintForSlimmingPaintV2() |