| Index: Source/core/platform/graphics/filters/FELighting.cpp
|
| diff --git a/Source/core/platform/graphics/filters/FELighting.cpp b/Source/core/platform/graphics/filters/FELighting.cpp
|
| index 4c721bdf7b5b986455f40bc56824dcd431e0ebe4..830c328d84ac4f0588008b332aca4b92935cded8 100644
|
| --- a/Source/core/platform/graphics/filters/FELighting.cpp
|
| +++ b/Source/core/platform/graphics/filters/FELighting.cpp
|
| @@ -459,7 +459,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();
|
|
|