| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index a41e491d56ecd8157f8a7a75799237e3a2a4de09..6fcc711ffe29e96616091c786bc752873386c169 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -1119,11 +1119,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)
|
| @@ -1181,7 +1181,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) {
|
|
|