| Index: Source/core/paint/BlockFlowPainter.cpp
|
| diff --git a/Source/core/paint/BlockFlowPainter.cpp b/Source/core/paint/BlockFlowPainter.cpp
|
| index ebdd561c8eec5f13ce2ae4cee0188fd7918e67c8..95963c2fca7afd6220ecf355ad998b17cbe5bb57 100644
|
| --- a/Source/core/paint/BlockFlowPainter.cpp
|
| +++ b/Source/core/paint/BlockFlowPainter.cpp
|
| @@ -65,7 +65,7 @@ void BlockFlowPainter::paintSelection(const PaintInfo& paintInfo, const LayoutPo
|
| // Only create a DrawingRecorder and ClipScope if skipRecording is false. This logic is needed
|
| // because selectionGaps(...) needs to be called even when we do not record.
|
| bool skipRecording = LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutBlockFlow, DisplayItem::SelectionGap);
|
| - Optional<DrawingRecorder> drawingRecorder;
|
| + Optional<LayoutObjectDrawingRecorder> drawingRecorder;
|
| Optional<ClipScope> clipScope;
|
| if (!skipRecording) {
|
| drawingRecorder.emplace(*paintInfo.context, m_layoutBlockFlow, DisplayItem::SelectionGap, FloatRect(bounds));
|
|
|