| Index: Source/core/paint/BackgroundImageGeometry.cpp
|
| diff --git a/Source/core/paint/BackgroundImageGeometry.cpp b/Source/core/paint/BackgroundImageGeometry.cpp
|
| index c0b910b864b211d52c6bf0b6a1087ca5e3085109..879058e28d2d8a67c0aba915b0b97788c6d2529d 100644
|
| --- a/Source/core/paint/BackgroundImageGeometry.cpp
|
| +++ b/Source/core/paint/BackgroundImageGeometry.cpp
|
| @@ -170,7 +170,7 @@ void BackgroundImageGeometry::clip(const IntRect& clipRect)
|
|
|
| void BackgroundImageGeometry::calculate(const LayoutBoxModelObject& obj, const LayoutBoxModelObject* paintContainer,
|
| const GlobalPaintFlags globalPaintFlags, const FillLayer& fillLayer, const LayoutRect& paintRect,
|
| - LayoutObject* backgroundObject)
|
| + LayoutObject*)
|
| {
|
| LayoutUnit left = 0;
|
| LayoutUnit top = 0;
|
| @@ -256,9 +256,7 @@ void BackgroundImageGeometry::calculate(const LayoutBoxModelObject& obj, const L
|
| positioningAreaSize = destRect().size();
|
| }
|
|
|
| - const LayoutObject* clientForBackgroundImage = backgroundObject ? backgroundObject : &obj;
|
| IntSize fillTileSize = calculateFillTileSize(positioningBox, fillLayer, positioningAreaSize);
|
| - fillLayer.image()->setContainerSizeForLayoutObject(clientForBackgroundImage, fillTileSize, obj.style()->effectiveZoom());
|
| setTileSize(fillTileSize);
|
|
|
| EFillRepeat backgroundRepeatX = fillLayer.repeatX();
|
|
|