Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 66e9a1fe2e918d49aa8514b054064e6dfb37d714..49c8fd51a4f6541f12ddaa9e7295c34aba161a88 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -1777,7 +1777,7 @@ PaintInvalidationReason LayoutBox::invalidatePaintIfNeeded( |
// We also paint overflow controls in background phase. |
|| (hasOverflowClip() && getScrollableArea()->hasOverflowControls())) { |
PaintLayer& layer = paintInvalidationState.paintingLayer(); |
- if (layer.layoutObject() != this) |
+ if (&layer.layoutObject() != this) |
layer.setNeedsPaintPhaseDescendantBlockBackgrounds(); |
} |