Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index 376a739140520cab245ee520d644e3c46b0efdc8..5be6a860cee2f7ff00f0339fdaa8c9f5294b72dc 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -1112,11 +1112,11 @@ void RenderObject::drawLineForBoxSide(GraphicsContext* graphicsContext, int x1, |
void RenderObject::paintFocusRing(PaintInfo& paintInfo, const LayoutPoint& paintOffset, RenderStyle* style) |
{ |
Vector<IntRect> focusRingRects; |
- addFocusRingRects(focusRingRects, paintOffset, paintInfo.paintContainer); |
+ addFocusRingRects(focusRingRects, paintOffset, paintInfo.getPaintContainer()); |
if (style->outlineStyleIsAuto()) |
- paintInfo.context->drawFocusRing(focusRingRects, style->outlineWidth(), style->outlineOffset(), resolveColor(style, CSSPropertyOutlineColor)); |
+ paintInfo.getContext()->drawFocusRing(focusRingRects, style->outlineWidth(), style->outlineOffset(), resolveColor(style, CSSPropertyOutlineColor)); |
else |
- addPDFURLRect(paintInfo.context, unionRect(focusRingRects)); |
+ addPDFURLRect(paintInfo.getContext(), unionRect(focusRingRects)); |
} |
void RenderObject::addPDFURLRect(GraphicsContext* context, const LayoutRect& rect) |
@@ -1174,7 +1174,7 @@ void RenderObject::paintOutline(PaintInfo& paintInfo, const LayoutRect& paintRec |
EBorderStyle outlineStyle = styleToUse->outlineStyle(); |
Color outlineColor = resolveColor(styleToUse, CSSPropertyOutlineColor); |
- GraphicsContext* graphicsContext = paintInfo.context; |
+ GraphicsContext* graphicsContext = paintInfo.getContext(); |
bool useTransparencyLayer = outlineColor.hasAlpha(); |
if (useTransparencyLayer) { |
if (outlineStyle == SOLID) { |