Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6470)

Unified Diff: Source/platform/graphics/filters/FELighting.cpp

Issue 104023007: Refactoring ImageBuffer to decouple it from Canvas2DLayerBridge (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase mayhem Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/filters/FEDisplacementMap.cpp ('k') | Source/platform/graphics/filters/FETile.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/platform/graphics/filters/FEDisplacementMap.cpp ('k') | Source/platform/graphics/filters/FETile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698