Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: Source/core/frame/FrameView.cpp

Issue 1307203004: Revert "Reworks the clipping logic" and follow-up. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/layout/ClipRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « no previous file | Source/core/layout/ClipRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698