| Index: third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp b/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
|
| index 4d6a4c66bb2135d4f81946de56c8d2747e869ce7..811241f806b597dc5fe900026f0d6b830dadf17f 100644
|
| --- a/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/FieldsetPainter.cpp
|
| @@ -15,6 +15,9 @@
|
|
|
| void FieldsetPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| + if (!paintInfo.shouldPaintWithinRoot(&m_layoutFieldset))
|
| + return;
|
| +
|
| LayoutRect paintRect(paintOffset, m_layoutFieldset.size());
|
| LayoutBox* legend = m_layoutFieldset.findInFlowLegend();
|
| if (!legend)
|
|
|