| Index: third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| index ada5aeb4ab34ea03b8b773512c1df234c180a902..04830515dbd159b4077be00bf23acf7c42e01410 100644
|
| --- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
|
| @@ -22,6 +22,7 @@
|
| #include "core/paint/BoxDecorationData.h"
|
| #include "core/paint/LayoutObjectDrawingRecorder.h"
|
| #include "core/paint/NinePieceImagePainter.h"
|
| +#include "core/paint/ObjectPainter.h"
|
| #include "core/paint/PaintInfo.h"
|
| #include "core/paint/PaintLayer.h"
|
| #include "core/paint/RoundedInnerRectClipper.h"
|
| @@ -51,6 +52,7 @@ bool isPaintingBackgroundOfPaintContainerIntoScrollingContentsLayer(
|
|
|
| void BoxPainter::paint(const PaintInfo& paintInfo,
|
| const LayoutPoint& paintOffset) {
|
| + ObjectPainter(m_layoutBox).checkPaintOffset(paintInfo, paintOffset);
|
| LayoutPoint adjustedPaintOffset = paintOffset + m_layoutBox.location();
|
| // Default implementation. Just pass paint through to the children.
|
| PaintInfo childInfo(paintInfo);
|
|
|