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

Unified Diff: Source/platform/graphics/filters/FETurbulence.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/FETile.cpp ('k') | Source/platform/graphics/filters/Filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/FETurbulence.cpp
diff --git a/Source/platform/graphics/filters/FETurbulence.cpp b/Source/platform/graphics/filters/FETurbulence.cpp
index 78e51f6f1e2bb4e620690c045adc52358ebb7d19..a6a4e826182024d1816f6bc90e054fbc08bb154e 100644
--- a/Source/platform/graphics/filters/FETurbulence.cpp
+++ b/Source/platform/graphics/filters/FETurbulence.cpp
@@ -420,7 +420,7 @@ SkShader* FETurbulence::createShader(const IntRect& filterRegion)
bool FETurbulence::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/FETile.cpp ('k') | Source/platform/graphics/filters/Filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698