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

Unified Diff: Source/platform/graphics/filters/FEDisplacementMap.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/FEComposite.cpp ('k') | Source/platform/graphics/filters/FELighting.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/FEDisplacementMap.cpp
diff --git a/Source/platform/graphics/filters/FEDisplacementMap.cpp b/Source/platform/graphics/filters/FEDisplacementMap.cpp
index c77e932a36b4b1116b23b8408b7be46ecfb48852..ad31826126c8cd03f5a8c02c57ec26d0a12b5f04 100644
--- a/Source/platform/graphics/filters/FEDisplacementMap.cpp
+++ b/Source/platform/graphics/filters/FEDisplacementMap.cpp
@@ -171,7 +171,7 @@ static SkDisplacementMapEffect::ChannelSelectorType toSkiaMode(ChannelSelectorTy
bool FEDisplacementMap::applySkia()
{
// For now, only use the skia implementation for accelerated rendering.
- if (filter()->renderingMode() != Accelerated)
+ if (!filter()->isAccelerated())
return false;
FilterEffect* in = inputEffect(0);
« no previous file with comments | « Source/platform/graphics/filters/FEComposite.cpp ('k') | Source/platform/graphics/filters/FELighting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698