Chromium Code Reviews| Index: Source/core/paint/FrameSetPainter.cpp |
| diff --git a/Source/core/paint/FrameSetPainter.cpp b/Source/core/paint/FrameSetPainter.cpp |
| index 48161d2f58b9ef17624cb951b96390fc94052296..f026f3fce0ab7f5dd86a0389916f394540ecb01e 100644 |
| --- a/Source/core/paint/FrameSetPainter.cpp |
| +++ b/Source/core/paint/FrameSetPainter.cpp |
| @@ -115,6 +115,8 @@ void FrameSetPainter::paintChildren(const PaintInfo& paintInfo, const LayoutPoin |
| size_t cols = m_layoutFrameSet.columns().m_sizes.size(); |
| for (size_t r = 0; r < rows; r++) { |
| for (size_t c = 0; c < cols; c++) { |
| + if (child->isLayoutBoxModelObject() && toLayoutBoxModelObject(child)->hasSelfPaintingLayer()) |
|
wkorman
2015/06/12 19:14:48
Worth adding a comment on why we do this?
chrishtr
2015/06/12 19:57:28
Done.
|
| + continue; |
| child->paint(paintInfo, adjustedPaintOffset); |
| child = child->nextSibling(); |
| if (!child) |