| Index: third_party/WebKit/Source/core/paint/FilterPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.cpp b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
|
| index 9e399bb7870956ef6ac6ae10313350f87bd0d9ec..cfc6cd84b58266cbe557876da93336983be8a2a0 100644
|
| --- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
|
| @@ -36,9 +36,8 @@ FilterPainter::FilterPainter(PaintLayer& layer, GraphicsContext& context, const
|
|
|
| ASSERT(layer.filterInfo());
|
|
|
| - SkiaImageFilterBuilder builder;
|
| lastEffect->determineFilterPrimitiveSubregion(MapRectForward);
|
| - sk_sp<SkImageFilter> imageFilter = builder.build(lastEffect, ColorSpaceDeviceRGB);
|
| + sk_sp<SkImageFilter> imageFilter = SkiaImageFilterBuilder::build(lastEffect, ColorSpaceDeviceRGB);
|
| if (!imageFilter)
|
| return;
|
|
|
| @@ -63,7 +62,7 @@ FilterPainter::FilterPainter(PaintLayer& layer, GraphicsContext& context, const
|
| if (!context.getPaintController().displayItemConstructionIsDisabled()) {
|
| FilterOperations filterOperations(layer.computeFilterOperations(m_layoutObject->styleRef()));
|
| OwnPtr<CompositorFilterOperations> compositorFilterOperations = adoptPtr(CompositorFactory::current().createFilterOperations());
|
| - builder.buildFilterOperations(filterOperations, compositorFilterOperations.get());
|
| + SkiaImageFilterBuilder::buildFilterOperations(filterOperations, compositorFilterOperations.get());
|
| // FIXME: It's possible to have empty CompositorFilterOperations here even
|
| // though the SkImageFilter produced above is non-null, since the
|
| // layer's FilterEffectBuilder can have a stale representation of
|
|
|