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

Unified Diff: Source/platform/graphics/filters/FEBlend.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
Index: Source/platform/graphics/filters/FEBlend.cpp
diff --git a/Source/platform/graphics/filters/FEBlend.cpp b/Source/platform/graphics/filters/FEBlend.cpp
index 0953b91c784ffe2ac0d9f059d21034a354a7868b..88aff9f783eb41a4e805b79d575d49f61003d745 100644
--- a/Source/platform/graphics/filters/FEBlend.cpp
+++ b/Source/platform/graphics/filters/FEBlend.cpp
@@ -204,7 +204,7 @@ static SkXfermode::Mode toSkiaMode(BlendModeType mode)
bool FEBlend::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/UnacceleratedImageBufferSurface.cpp ('k') | Source/platform/graphics/filters/FEComposite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698