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

Unified Diff: Source/core/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: mac+win build fix 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/core/platform/graphics/filters/FEBlend.cpp
diff --git a/Source/core/platform/graphics/filters/FEBlend.cpp b/Source/core/platform/graphics/filters/FEBlend.cpp
index 524013b71fcc3b8c8e8ba3017a09456ffbc2f39e..75a5320736ffa27c2f7e36c3859e42984f45d6b6 100644
--- a/Source/core/platform/graphics/filters/FEBlend.cpp
+++ b/Source/core/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);

Powered by Google App Engine
This is Rietveld 408576698