| Index: Source/core/rendering/RenderFlowThread.cpp
|
| diff --git a/Source/core/rendering/RenderFlowThread.cpp b/Source/core/rendering/RenderFlowThread.cpp
|
| index 45d89f4297b9fcfae5ebce73760135d1d5d059a1..4a8e5a135d6e8ccc2933ace20e50de30bebd07de 100644
|
| --- a/Source/core/rendering/RenderFlowThread.cpp
|
| +++ b/Source/core/rendering/RenderFlowThread.cpp
|
| @@ -267,7 +267,7 @@ LayoutRect RenderFlowThread::computeRegionClippingRect(const LayoutPoint& offset
|
|
|
| void RenderFlowThread::paintFlowThreadPortionInRegion(PaintInfo& paintInfo, RenderRegion* region, const LayoutRect& flowThreadPortionRect, const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint& paintOffset) const
|
| {
|
| - GraphicsContext* context = paintInfo.context;
|
| + GraphicsContext* context = paintInfo.getContext();
|
| if (!context)
|
| return;
|
|
|
| @@ -295,17 +295,17 @@ void RenderFlowThread::paintFlowThreadPortionInRegion(PaintInfo& paintInfo, Rend
|
| IntRect regionClippingRect = pixelSnappedIntRect(computeRegionClippingRect(adjustedPaintOffset + portionLocation, flowThreadPortionRect, flowThreadPortionOverflowRect));
|
|
|
| PaintInfo info(paintInfo);
|
| - info.rect.intersect(regionClippingRect);
|
| + info.getRect().intersect(regionClippingRect);
|
|
|
| - if (!info.rect.isEmpty()) {
|
| + if (!info.getRect().isEmpty()) {
|
| context->save();
|
|
|
| context->clip(regionClippingRect);
|
|
|
| context->translate(adjustedPaintOffset.x(), adjustedPaintOffset.y());
|
| - info.rect.moveBy(-adjustedPaintOffset);
|
| + info.getRect().moveBy(-adjustedPaintOffset);
|
|
|
| - layer()->paint(context, info.rect, 0, 0, region, RenderLayer::PaintLayerTemporaryClipRects);
|
| + layer()->paint(context, info.getRect(), 0, 0, region, RenderLayer::PaintLayerTemporaryClipRects);
|
|
|
| context->restore();
|
| }
|
|
|