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 548907dd20a6eab1e2352cd7e13ca31bc82a21bd..5719e404b538bd0c67df7793c14f850aaec4227a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -1885,7 +1885,7 @@ void LayoutBox::EnsureIsReadyForPaintInvalidation() { |
SetShouldDoFullPaintInvalidationWithoutGeometryChange(kPaintInvalidationFull); |
} |
-PaintInvalidationReason LayoutBox::InvalidatePaint( |
+PaintInvalidationReason LayoutBox::DeprecatedInvalidatePaint( |
const PaintInvalidationState& paint_invalidation_state) { |
if (HasBoxDecorationBackground() |
// We also paint overflow controls in background phase. |
@@ -1895,7 +1895,8 @@ PaintInvalidationReason LayoutBox::InvalidatePaint( |
layer.SetNeedsPaintPhaseDescendantBlockBackgrounds(); |
} |
- return LayoutBoxModelObject::InvalidatePaint(paint_invalidation_state); |
+ return LayoutBoxModelObject::DeprecatedInvalidatePaint( |
+ paint_invalidation_state); |
} |
PaintInvalidationReason LayoutBox::InvalidatePaint( |