| Index: Source/platform/graphics/filters/FELighting.cpp
|
| diff --git a/Source/platform/graphics/filters/FELighting.cpp b/Source/platform/graphics/filters/FELighting.cpp
|
| index 4b1b44d75222e53c02d98e580a76f7ad4b20e5f6..92efec12059a732c81062d3b8f9c0d3975c0c72d 100644
|
| --- a/Source/platform/graphics/filters/FELighting.cpp
|
| +++ b/Source/platform/graphics/filters/FELighting.cpp
|
| @@ -455,7 +455,7 @@ PassRefPtr<SkImageFilter> FELighting::createImageFilter(SkiaImageFilterBuilder*
|
| bool FELighting::applySkia()
|
| {
|
| // For now, only use the skia implementation for accelerated rendering.
|
| - if (filter()->renderingMode() != Accelerated)
|
| + if (!filter()->isAccelerated())
|
| return false;
|
|
|
| ImageBuffer* resultImage = createImageBufferResult();
|
|
|