Index: Source/core/rendering/RenderRegion.cpp |
diff --git a/Source/core/rendering/RenderRegion.cpp b/Source/core/rendering/RenderRegion.cpp |
index 203d207afa8b76d2b40bd1781b838e356578728f..bffa9a0569fc73f7a9f1c0e3785b68a28fd37879 100644 |
--- a/Source/core/rendering/RenderRegion.cpp |
+++ b/Source/core/rendering/RenderRegion.cpp |
@@ -176,7 +176,7 @@ void RenderRegion::paintObject(PaintInfo& paintInfo, const LayoutPoint& paintOff |
// RenderFlowThread is a self painting layer (being a positioned object) who is painting its children, the collected objects. |
// Since we do not want to paint the flow thread content multiple times (for each painting phase of the region object), |
// we allow the flow thread painting only for the selection and the foreground phase. |
- if (!isValid() || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)) |
+ if (!isValid() || (paintInfo.getPhase() != PaintPhaseForeground && paintInfo.getPhase() != PaintPhaseSelection)) |
return; |
setRegionObjectsRegionStyle(); |