| Index: Source/core/paint/SVGFilterPainter.cpp
|
| diff --git a/Source/core/paint/SVGFilterPainter.cpp b/Source/core/paint/SVGFilterPainter.cpp
|
| index d294540165c183adea080019e005e424be27d824..9c035903db9bd4bd9aa0ebf7452db55c025d9255 100644
|
| --- a/Source/core/paint/SVGFilterPainter.cpp
|
| +++ b/Source/core/paint/SVGFilterPainter.cpp
|
| @@ -179,10 +179,10 @@ void SVGFilterPainter::finishEffect(LayoutObject& object, GraphicsContext* conte
|
| filterData->m_state = FilterData::RecordingContent;
|
| }
|
|
|
| - 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, toSVGFilterElement(m_filter.element()));
|
| }
|
|
|