| Index: Source/core/paint/PartPainter.cpp
|
| diff --git a/Source/core/paint/PartPainter.cpp b/Source/core/paint/PartPainter.cpp
|
| index 2e0c2ed63ad95fab2d2712e274e5db36eb1b0e59..7f9f832df515efe318f7aad82b5995845776784f 100644
|
| --- a/Source/core/paint/PartPainter.cpp
|
| +++ b/Source/core/paint/PartPainter.cpp
|
| @@ -42,7 +42,7 @@ void PartPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
| return;
|
|
|
| {
|
| - OwnPtr<RoundedInnerRectClipper> clipper;
|
| + RoundedInnerRectClipper clipper(m_layoutPart, paintInfo);
|
| if (m_layoutPart.style()->hasBorderRadius()) {
|
| if (borderRect.isEmpty())
|
| return;
|
| @@ -54,7 +54,7 @@ void PartPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffs
|
| -(m_layoutPart.paddingBottom() + m_layoutPart.borderBottom()),
|
| -(m_layoutPart.paddingLeft() + m_layoutPart.borderLeft())),
|
| true, true);
|
| - clipper = adoptPtr(new RoundedInnerRectClipper(m_layoutPart, paintInfo, borderRect, roundedInnerRect, ApplyToDisplayListIfEnabled));
|
| + clipper.begin(borderRect, roundedInnerRect, ApplyToDisplayListIfEnabled);
|
| }
|
|
|
| if (m_layoutPart.widget())
|
|
|