Index: Source/core/rendering/RenderRegion.cpp |
diff --git a/Source/core/rendering/RenderRegion.cpp b/Source/core/rendering/RenderRegion.cpp |
index 1952abe9bce747a37a8aaa581c3aa40922a23035..d048eaebdd5a419d7f76c6f55571150d196ec428 100644 |
--- a/Source/core/rendering/RenderRegion.cpp |
+++ b/Source/core/rendering/RenderRegion.cpp |
@@ -175,7 +175,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(); |