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

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

Issue 2784963002: Optimize the pre-paint tree walk and ClipRects (Closed)
Patch Set: none Created 3 years, 9 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/ClipRectsCache.h
diff --git a/third_party/WebKit/Source/core/paint/ClipRectsCache.h b/third_party/WebKit/Source/core/paint/ClipRectsCache.h
index 3b54ee96fc836ec2cb750d686bcc05d898de4419..259f1c08e9680bd09fefa6119ca0f8026bda058b 100644
--- a/third_party/WebKit/Source/core/paint/ClipRectsCache.h
+++ b/third_party/WebKit/Source/core/paint/ClipRectsCache.h
@@ -46,7 +46,7 @@ class ClipRectsCache {
{
}
const PaintLayer* root;
- RefPtr<ClipRects> clipRects;
+ ClipRects clipRects;
#if DCHECK_IS_ON()
OverlayScrollbarClipBehavior overlayScrollbarClipBehavior;
#endif

Powered by Google App Engine
This is Rietveld 408576698