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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2854493002: Store previous painting clip rects on FragmentData. (Closed)
Patch Set: none Created 3 years, 8 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
Index: third_party/WebKit/Source/core/paint/PaintLayer.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index 9f8ea182f0cf03edc2d9440096036c90022fbef7..e4f9be048f9a6e72733ddb43f23c37f307ce5204 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -926,6 +926,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
}
ClipRects* PreviousPaintingClipRects() const {
+ DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
return previous_painting_clip_rects_.Get();
}
void SetPreviousPaintingClipRects(ClipRects& clip_rects) {

Powered by Google App Engine
This is Rietveld 408576698