| Index: Source/core/paint/ReplacedPainter.cpp
|
| diff --git a/Source/core/paint/ReplacedPainter.cpp b/Source/core/paint/ReplacedPainter.cpp
|
| index 4e01e46b9e8ba5f6bf061b2194494cb8382049fb..b96d37dd9241b3ee26abbc1940992d7b82c26206 100644
|
| --- a/Source/core/paint/ReplacedPainter.cpp
|
| +++ b/Source/core/paint/ReplacedPainter.cpp
|
| @@ -56,7 +56,7 @@ void ReplacedPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint
|
| return;
|
|
|
| {
|
| - OwnPtr<RoundedInnerRectClipper> clipper;
|
| + RoundedInnerRectClipper clipper(m_layoutReplaced, paintInfo);
|
| bool completelyClippedOut = false;
|
| if (m_layoutReplaced.style()->hasBorderRadius()) {
|
| LayoutRect borderRect = LayoutRect(adjustedPaintOffset, m_layoutReplaced.size());
|
| @@ -73,7 +73,7 @@ void ReplacedPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paint
|
| -(m_layoutReplaced.paddingLeft() + m_layoutReplaced.borderLeft())),
|
| true, true);
|
|
|
| - clipper = adoptPtr(new RoundedInnerRectClipper(m_layoutReplaced, paintInfo, paintRect, roundedInnerRect, ApplyToDisplayListIfEnabled));
|
| + clipper.begin(paintRect, roundedInnerRect, ApplyToDisplayListIfEnabled);
|
| }
|
| }
|
|
|
|
|