| Index: Source/core/rendering/RenderTableCell.cpp
|
| diff --git a/Source/core/rendering/RenderTableCell.cpp b/Source/core/rendering/RenderTableCell.cpp
|
| index 31746d8549998e1675eefdb86c4ff83346acd6f2..917afea25c05f5b19a600aab0219d4f5a865bf22 100644
|
| --- a/Source/core/rendering/RenderTableCell.cpp
|
| +++ b/Source/core/rendering/RenderTableCell.cpp
|
| @@ -1172,9 +1172,9 @@ void RenderTableCell::paintBackgroundsBehindCell(PaintInfo& paintInfo, const Lay
|
| adjustedPaintOffset.moveBy(location());
|
|
|
| Color c = backgroundObject->resolveColor(CSSPropertyBackgroundColor);
|
| - const FillLayer* bgLayer = backgroundObject->style()->backgroundLayers();
|
| + const FillLayer& bgLayer = backgroundObject->style()->backgroundLayers();
|
|
|
| - if (bgLayer->hasImage() || c.alpha()) {
|
| + if (bgLayer.hasImage() || c.alpha()) {
|
| // We have to clip here because the background would paint
|
| // on top of the borders otherwise. This only matters for cells and rows.
|
| bool shouldClip = backgroundObject->hasLayer() && (backgroundObject == this || backgroundObject == parent()) && tableElt->collapseBorders();
|
|
|