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

Unified Diff: Source/core/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: build fixes for win+mac 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/FELighting.cpp
diff --git a/Source/core/platform/graphics/filters/FELighting.cpp b/Source/core/platform/graphics/filters/FELighting.cpp
index 28c70601d9456df0d6c655ef9abbd47c3f896492..5eb1b68c06b332a6bbdb53039b3873a765ff39d9 100644
--- a/Source/core/platform/graphics/filters/FELighting.cpp
+++ b/Source/core/platform/graphics/filters/FELighting.cpp
@@ -460,7 +460,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();

Powered by Google App Engine
This is Rietveld 408576698