Index: Source/core/rendering/svg/SVGInlineFlowBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineFlowBox.cpp b/Source/core/rendering/svg/SVGInlineFlowBox.cpp |
index 66b93be57176fadccf5a5c4143b7062cdcd94982..98f4179f3fb4f93e7d21135a6f61ea3093b89c90 100644 |
--- a/Source/core/rendering/svg/SVGInlineFlowBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineFlowBox.cpp |
@@ -35,8 +35,8 @@ namespace WebCore { |
void SVGInlineFlowBox::paintSelectionBackground(PaintInfo& paintInfo) |
{ |
- ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection); |
- ASSERT(!paintInfo.context->paintingDisabled()); |
+ ASSERT(paintInfo.getPhase() == PaintPhaseForeground || paintInfo.getPhase() == PaintPhaseSelection); |
+ ASSERT(!paintInfo.getContext()->paintingDisabled()); |
PaintInfo childPaintInfo(paintInfo); |
for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) { |
@@ -49,8 +49,8 @@ void SVGInlineFlowBox::paintSelectionBackground(PaintInfo& paintInfo) |
void SVGInlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint&, LayoutUnit, LayoutUnit) |
{ |
- ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection); |
- ASSERT(!paintInfo.context->paintingDisabled()); |
+ ASSERT(paintInfo.getPhase() == PaintPhaseForeground || paintInfo.getPhase() == PaintPhaseSelection); |
+ ASSERT(!paintInfo.getContext()->paintingDisabled()); |
RenderObject* boxRenderer = renderer(); |
ASSERT(boxRenderer); |