Index: Source/core/paint/BlockFlowPainter.cpp |
diff --git a/Source/core/paint/BlockFlowPainter.cpp b/Source/core/paint/BlockFlowPainter.cpp |
index b6190e4ea9d5373c92daf33433067d8f01268436..3d2045741c607eb5aeabd46be8a00d5453e8c1d1 100644 |
--- a/Source/core/paint/BlockFlowPainter.cpp |
+++ b/Source/core/paint/BlockFlowPainter.cpp |
@@ -5,6 +5,7 @@ |
#include "config.h" |
#include "core/paint/BlockFlowPainter.h" |
+#include "core/paint/GraphicsContextRecorder.h" |
#include "core/rendering/FloatingObjects.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderBlockFlow.h" |
@@ -51,7 +52,7 @@ void BlockFlowPainter::paintSelection(const PaintInfo& paintInfo, const LayoutPo |
LayoutUnit lastTop = 0; |
LayoutUnit lastLeft = m_renderBlockFlow.logicalLeftSelectionOffset(&m_renderBlockFlow, lastTop); |
LayoutUnit lastRight = m_renderBlockFlow.logicalRightSelectionOffset(&m_renderBlockFlow, lastTop); |
- GraphicsContextStateSaver stateSaver(*paintInfo.context); |
+ GraphicsContextRecorder graphicsContextRecorder(*paintInfo.context); |
LayoutRect gapRectsBounds = m_renderBlockFlow.selectionGaps(&m_renderBlockFlow, paintOffset, LayoutSize(), lastTop, lastLeft, lastRight, &paintInfo); |
if (!gapRectsBounds.isEmpty()) { |