Index: third_party/WebKit/Source/core/paint/BoxClipper.cpp |
diff --git a/third_party/WebKit/Source/core/paint/BoxClipper.cpp b/third_party/WebKit/Source/core/paint/BoxClipper.cpp |
index 6355078338ba7f8605031ba53decf96cabb74ae5..ac13973d42cbddb149dc5be30516f9bd4cb7ab7a 100644 |
--- a/third_party/WebKit/Source/core/paint/BoxClipper.cpp |
+++ b/third_party/WebKit/Source/core/paint/BoxClipper.cpp |
@@ -50,12 +50,12 @@ BoxClipper::BoxClipper(const LayoutBox& box, const PaintInfo& paintInfo, const L |
return; |
} |
- if (!m_paintInfo.context->paintController().displayItemConstructionIsDisabled()) { |
+ if (!m_paintInfo.context.paintController().displayItemConstructionIsDisabled()) { |
m_clipType = m_paintInfo.displayItemTypeForClipping(); |
Vector<FloatRoundedRect> roundedRects; |
if (hasBorderRadius) |
roundedRects.append(clipRoundedRect); |
- m_paintInfo.context->paintController().createAndAppend<ClipDisplayItem>(m_box, m_clipType, pixelSnappedIntRect(clipRect), roundedRects); |
+ m_paintInfo.context.paintController().createAndAppend<ClipDisplayItem>(m_box, m_clipType, pixelSnappedIntRect(clipRect), roundedRects); |
} |
} |
@@ -65,7 +65,7 @@ BoxClipper::~BoxClipper() |
return; |
ASSERT(m_box.hasControlClip() || (m_box.hasOverflowClip() && !m_box.layer()->isSelfPaintingLayer())); |
- m_paintInfo.context->paintController().endItem<EndClipDisplayItem>(m_box, DisplayItem::clipTypeToEndClipType(m_clipType)); |
+ m_paintInfo.context.paintController().endItem<EndClipDisplayItem>(m_box, DisplayItem::clipTypeToEndClipType(m_clipType)); |
} |
} // namespace blink |