| Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| index 41dba4ef9b60ad6c8700410bd6eb1b2720df4d7f..ba5f5295b2175d1fa3d7ba2b08e9dcd418d032c1 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
| @@ -1388,10 +1388,10 @@ PaintInvalidationReason LayoutObject::invalidatePaintIfNeeded(const PaintInvalid
|
| "object", this->debugName().ascii(),
|
| "info", jsonObjectForOldAndNewRects(oldBounds, oldLocation, newBounds, newLocation));
|
|
|
| - bool boxDecorationBackgroundObscured = boxDecorationBackgroundIsKnownToBeObscured();
|
| - if (!isFullPaintInvalidationReason(invalidationReason) && boxDecorationBackgroundObscured != m_bitfields.lastBoxDecorationBackgroundObscured())
|
| + bool backgroundObscured = backgroundIsKnownToBeObscured();
|
| + if (!isFullPaintInvalidationReason(invalidationReason) && backgroundObscured != m_bitfields.previousBackgroundObscured())
|
| invalidationReason = PaintInvalidationBackgroundObscurationChange;
|
| - m_bitfields.setLastBoxDecorationBackgroundObscured(boxDecorationBackgroundObscured);
|
| + m_bitfields.setPreviousBackgroundObscured(backgroundObscured);
|
|
|
| if (invalidationReason == PaintInvalidationNone) {
|
| // TODO(trchen): Currently we don't keep track of paint offset of layout objects.
|
|
|