Index: third_party/WebKit/Source/core/paint/ViewPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/ViewPainter.cpp b/third_party/WebKit/Source/core/paint/ViewPainter.cpp |
index 74c089ce89b8d5daa0973f65bbcd301ca6562d5c..c7096626c9922155455c07ab84e5fadbef8d2c82 100644 |
--- a/third_party/WebKit/Source/core/paint/ViewPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/ViewPainter.cpp |
@@ -163,7 +163,8 @@ void ViewPainter::PaintBoxDecorationBackground(const PaintInfo& paint_info) { |
bool should_draw_background_in_separate_buffer = |
BoxPainter(layout_view_) |
.CalculateFillLayerOcclusionCulling( |
- reversed_paint_list, layout_view_.Style()->BackgroundLayers()); |
+ reversed_paint_list, layout_view_.Style()->BackgroundLayers(), |
+ layout_view_.GetDocument(), layout_view_.StyleRef()); |
DCHECK(reversed_paint_list.size()); |
// If the root background color is opaque, isolation group can be skipped |