| 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 e32ca9f3705cfe02bfffd34581ac81b75da623f1..8165be07c17c0a1bc1d635920683fca0955c750e 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
|
| @@ -228,8 +228,9 @@
|
| paintLayer.clipper(PaintLayer::DoNotUseGeometryMapper)
|
| .paintingClipRects(paintingInfo.rootLayer, respectOverflowClip,
|
| subpixelAccumulation);
|
| - if (!paintLayer.hasPreviousPaintingClipRects() ||
|
| - clipRects != paintLayer.previousPaintingClipRects()) {
|
| + ClipRects* previousClipRects = paintLayer.previousPaintingClipRects();
|
| + if (&clipRects != previousClipRects &&
|
| + (!previousClipRects || clipRects != *previousClipRects)) {
|
| needsRepaint = true;
|
| shouldClearEmptyPaintPhaseFlags = true;
|
| }
|
|
|