Index: Source/core/rendering/RenderDetailsMarker.cpp |
diff --git a/Source/core/rendering/RenderDetailsMarker.cpp b/Source/core/rendering/RenderDetailsMarker.cpp |
index b6ab9a2ea0e2bb900965970650d5be07eb7bba10..6f162a74fba3cce0ac66c8bb4ec3067d7da88b84 100644 |
--- a/Source/core/rendering/RenderDetailsMarker.cpp |
+++ b/Source/core/rendering/RenderDetailsMarker.cpp |
@@ -113,7 +113,7 @@ Path RenderDetailsMarker::getPath(const LayoutPoint& origin) const |
void RenderDetailsMarker::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
{ |
- if (paintInfo.phase != PaintPhaseForeground || style()->visibility() != VISIBLE) { |
+ if (paintInfo.getPhase() != PaintPhaseForeground || style()->visibility() != VISIBLE) { |
RenderBlock::paint(paintInfo, paintOffset); |
return; |
} |
@@ -121,19 +121,19 @@ void RenderDetailsMarker::paint(PaintInfo& paintInfo, const LayoutPoint& paintOf |
LayoutPoint boxOrigin(paintOffset + location()); |
LayoutRect overflowRect(visualOverflowRect()); |
overflowRect.moveBy(boxOrigin); |
- overflowRect.inflate(maximalOutlineSize(paintInfo.phase)); |
+ overflowRect.inflate(maximalOutlineSize(paintInfo.getPhase())); |
- if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) |
+ if (!paintInfo.getRect().intersects(pixelSnappedIntRect(overflowRect))) |
return; |
const Color color(resolveColor(CSSPropertyColor)); |
- paintInfo.context->setStrokeColor(color); |
- paintInfo.context->setStrokeStyle(SolidStroke); |
- paintInfo.context->setStrokeThickness(1.0f); |
- paintInfo.context->setFillColor(color); |
+ paintInfo.getContext()->setStrokeColor(color); |
+ paintInfo.getContext()->setStrokeStyle(SolidStroke); |
+ paintInfo.getContext()->setStrokeThickness(1.0f); |
+ paintInfo.getContext()->setFillColor(color); |
boxOrigin.move(borderLeft() + paddingLeft(), borderTop() + paddingTop()); |
- paintInfo.context->fillPath(getPath(boxOrigin)); |
+ paintInfo.getContext()->fillPath(getPath(boxOrigin)); |
} |
bool RenderDetailsMarker::isOpen() const |