Index: trunk/Source/core/platform/graphics/skia/NativeImageSkia.cpp |
=================================================================== |
--- trunk/Source/core/platform/graphics/skia/NativeImageSkia.cpp (revision 156736) |
+++ trunk/Source/core/platform/graphics/skia/NativeImageSkia.cpp (working copy) |
@@ -31,7 +31,6 @@ |
#include "config.h" |
#include "core/platform/graphics/skia/NativeImageSkia.h" |
-#include "core/platform/FloatConversion.h" |
#include "core/platform/PlatformInstrumentation.h" |
#include "core/platform/chromium/TraceEvent.h" |
#include "core/platform/graphics/FloatPoint.h" |
@@ -327,14 +326,7 @@ |
SkPaint paint; |
paint.setXfermodeMode(compOp); |
paint.setAlpha(context->getNormalizedAlpha()); |
- DrawLooper* drawLooper = context->drawLooper(); |
- if (drawLooper) { |
- if (drawLooper->shouldUseImageFilterToDrawBitmap(bitmap())) { |
- paint.setImageFilter(context->drawLooper()->imageFilter()); |
- } else { |
- paint.setLooper(drawLooper->skDrawLooper()); |
- } |
- } |
+ paint.setLooper(context->drawLooper()); |
// only antialias if we're rotated or skewed |
paint.setAntiAlias(hasNon90rotation(context)); |