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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp

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/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index cbfc784b6a080149d3e4c73a8f8bbfb774aff3b7..8504021eea4c5e77618401dfd9af5fa839648687 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -237,13 +237,13 @@ static bool ShouldRepaintSubsequence(
paint_layer.Clipper(PaintLayer::kDoNotUseGeometryMapper)
.PaintingClipRects(painting_info.root_layer, respect_overflow_clip,
subpixel_accumulation);
- ClipRects* previous_clip_rects = paint_layer.PreviousPaintingClipRects();
+ ClipRects* previous_clip_rects = paint_layer.PreviousClipRects();
if (&clip_rects != previous_clip_rects &&
(!previous_clip_rects || clip_rects != *previous_clip_rects)) {
needs_repaint = true;
should_clear_empty_paint_phase_flags = true;
}
- paint_layer.SetPreviousPaintingClipRects(clip_rects);
+ paint_layer.SetPreviousClipRects(clip_rects);
}
// Repaint if previously the layer might be clipped by paintDirtyRect and

Powered by Google App Engine
This is Rietveld 408576698