| Index: Source/core/rendering/svg/RenderSVGContainer.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGContainer.cpp b/Source/core/rendering/svg/RenderSVGContainer.cpp
|
| index 7b1bf66ca5e9601bd3c77eec43a1e3c6a7e0f20a..78135fb96662369b4c66addf74b778e5a5a4ac17 100644
|
| --- a/Source/core/rendering/svg/RenderSVGContainer.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGContainer.cpp
|
| @@ -107,7 +107,7 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&)
|
| {
|
| ANNOTATE_GRAPHICS_CONTEXT(paintInfo, this);
|
|
|
| - if (paintInfo.context->paintingDisabled())
|
| + if (paintInfo.getContext()->paintingDisabled())
|
| return;
|
|
|
| // Spec: groups w/o children still may render filter content.
|
| @@ -120,7 +120,7 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&)
|
|
|
| PaintInfo childPaintInfo(paintInfo);
|
| {
|
| - GraphicsContextStateSaver stateSaver(*childPaintInfo.context);
|
| + GraphicsContextStateSaver stateSaver(*(childPaintInfo.getContext()));
|
|
|
| // Let the RenderSVGViewportContainer subclass clip if necessary
|
| applyViewportClip(childPaintInfo);
|
| @@ -129,7 +129,7 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&)
|
|
|
| SVGRenderingContext renderingContext;
|
| bool continueRendering = true;
|
| - if (childPaintInfo.phase == PaintPhaseForeground) {
|
| + if (childPaintInfo.getPhase() == PaintPhaseForeground) {
|
| renderingContext.prepareToRenderSVGContent(this, childPaintInfo);
|
| continueRendering = renderingContext.isRenderingPrepared();
|
| }
|
| @@ -146,7 +146,7 @@ void RenderSVGContainer::paint(PaintInfo& paintInfo, const LayoutPoint&)
|
| // outline rect into parent coords before drawing.
|
| // FIXME: This means our focus ring won't share our rotation like it should.
|
| // We should instead disable our clip during PaintPhaseOutline
|
| - if ((paintInfo.phase == PaintPhaseOutline || paintInfo.phase == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) {
|
| + if ((paintInfo.getPhase() == PaintPhaseOutline || paintInfo.getPhase() == PaintPhaseSelfOutline) && style()->outlineWidth() && style()->visibility() == VISIBLE) {
|
| IntRect paintRectInParent = enclosingIntRect(localToParentTransform().mapRect(repaintRect));
|
| paintOutline(paintInfo, paintRectInParent);
|
| }
|
|
|