Index: third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.cpp |
diff --git a/third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.cpp b/third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.cpp |
index 2de30e765fd5719aba9d568e970adc3ac262a609..d843959ff3585deba0df035ef86e0b7a8dc92eb3 100644 |
--- a/third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.cpp |
+++ b/third_party/WebKit/Source/core/paint/RoundedInnerRectClipper.cpp |
@@ -49,10 +49,10 @@ RoundedInnerRectClipper::RoundedInnerRectClipper(const LayoutObject& layoutObjec |
} |
if (m_usePaintController) { |
- m_paintInfo.context->paintController().createAndAppend<ClipDisplayItem>(layoutObject, m_clipType, LayoutRect::infiniteIntRect(), roundedRectClips); |
+ m_paintInfo.context.paintController().createAndAppend<ClipDisplayItem>(layoutObject, m_clipType, LayoutRect::infiniteIntRect(), roundedRectClips); |
} else { |
ClipDisplayItem clipDisplayItem(layoutObject, m_clipType, LayoutRect::infiniteIntRect(), roundedRectClips); |
- clipDisplayItem.replay(*paintInfo.context); |
+ clipDisplayItem.replay(paintInfo.context); |
} |
} |
@@ -60,10 +60,10 @@ RoundedInnerRectClipper::~RoundedInnerRectClipper() |
{ |
DisplayItem::Type endType = DisplayItem::clipTypeToEndClipType(m_clipType); |
if (m_usePaintController) { |
- m_paintInfo.context->paintController().endItem<EndClipDisplayItem>(m_layoutObject, endType); |
+ m_paintInfo.context.paintController().endItem<EndClipDisplayItem>(m_layoutObject, endType); |
} else { |
EndClipDisplayItem endClipDisplayItem(m_layoutObject, endType); |
- endClipDisplayItem.replay(*m_paintInfo.context); |
+ endClipDisplayItem.replay(m_paintInfo.context); |
} |
} |