| Index: Source/core/paint/SVGFilterPainter.cpp
|
| diff --git a/Source/core/paint/SVGFilterPainter.cpp b/Source/core/paint/SVGFilterPainter.cpp
|
| index 2bf541ddd071877cbfeab3368d6f05a3345870c0..ce909e94b2c5565e2ddca98fe9c767f414fd9333 100644
|
| --- a/Source/core/paint/SVGFilterPainter.cpp
|
| +++ b/Source/core/paint/SVGFilterPainter.cpp
|
| @@ -183,11 +183,10 @@ void SVGFilterPainter::finishEffect(LayoutObject& object, SVGFilterRecordingCont
|
|
|
| GraphicsContext* context = recordingContext.paintingContext();
|
| ASSERT(context);
|
| -
|
| - LayoutObjectDrawingRecorder recorder(*context, object, DisplayItem::SVGFilter, LayoutRect::infiniteIntRect());
|
| - if (recorder.canUseCachedDrawing())
|
| + if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, object, DisplayItem::SVGFilter))
|
| return;
|
|
|
| + LayoutObjectDrawingRecorder recorder(*context, object, DisplayItem::SVGFilter, LayoutRect::infiniteIntRect());
|
| if (filterData && filterData->m_state == FilterData::ReadyToPaint)
|
| paintFilteredContent(object, context, filterData);
|
| }
|
|
|