| Index: third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| index a8bc45199a223135ee98db45581390d89166a5be..7192d0b39573997041a3e2a9760cb0f84189759a 100644
|
| --- a/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp
|
| @@ -24,7 +24,9 @@ static bool shouldApplyViewportClip(const LayoutReplaced& layoutReplaced) {
|
|
|
| void ReplacedPainter::paint(const PaintInfo& paintInfo,
|
| const LayoutPoint& paintOffset) {
|
| + ObjectPainter(m_layoutReplaced).checkPaintOffset(paintInfo, paintOffset);
|
| LayoutPoint adjustedPaintOffset = paintOffset + m_layoutReplaced.location();
|
| +
|
| if (!shouldPaint(paintInfo, adjustedPaintOffset))
|
| return;
|
|
|
|
|