| Index: Source/core/layout/LayoutBox.cpp
|
| diff --git a/Source/core/layout/LayoutBox.cpp b/Source/core/layout/LayoutBox.cpp
|
| index be83e8a61e6eb00a2579d3521aac8dca3697ee74..e54ce16325e9d421e87411616af300cfb2e70d05 100644
|
| --- a/Source/core/layout/LayoutBox.cpp
|
| +++ b/Source/core/layout/LayoutBox.cpp
|
| @@ -1179,7 +1179,7 @@ bool LayoutBox::getBackgroundPaintedExtent(LayoutRect& paintedExtent)
|
| BackgroundImageGeometry geometry;
|
| // TODO(jchaffraix): This function should be rethought as it's called during and outside
|
| // of the paint phase. Potentially returning different results at different phases.
|
| - BoxPainter::calculateBackgroundImageGeometry(*this, 0, GlobalPaintNormalPhase, style()->backgroundLayers(), backgroundRect, geometry);
|
| + geometry.calculate(*this, nullptr, GlobalPaintNormalPhase, style()->backgroundLayers(), backgroundRect);
|
| if (geometry.hasNonLocalGeometry())
|
| return false;
|
| paintedExtent = LayoutRect(geometry.destRect());
|
|
|