| Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| index 17d18f32e76f640f7b5b992f988b210ebb1bf986..843b517df32641f7ecce230783d96e96b0f2a68d 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| @@ -214,11 +214,8 @@ void PaintInvalidator::updatePaintingLayer(const LayoutObject& object,
|
| context.paintingLayer->setNeedsPaintPhaseDescendantBlockBackgrounds();
|
| }
|
|
|
| - if (object.isTable()) {
|
| - const LayoutTable& table = toLayoutTable(object);
|
| - if (table.collapseBorders() && !table.collapsedBorders().isEmpty())
|
| - context.paintingLayer->setNeedsPaintPhaseDescendantBlockBackgrounds();
|
| - }
|
| + if (object.isTable() && toLayoutTable(object).hasCollapsedBorders())
|
| + context.paintingLayer->setNeedsPaintPhaseDescendantBlockBackgrounds();
|
| }
|
|
|
| namespace {
|
|
|