Index: src/effects/SkLayerDrawLooper.cpp |
diff --git a/src/effects/SkLayerDrawLooper.cpp b/src/effects/SkLayerDrawLooper.cpp |
index 0a5c4f9df3209eb954db2de1bc5d22444dda0c51..b3430bb1e4a5e22a6c2d42f36fe3a333f725b3c4 100644 |
--- a/src/effects/SkLayerDrawLooper.cpp |
+++ b/src/effects/SkLayerDrawLooper.cpp |
@@ -104,7 +104,7 @@ void SkLayerDrawLooper::LayerDrawLooperContext::ApplyInfo( |
dst->setColorFilter(sk_ref_sp(src.getColorFilter())); |
} |
if (bits & kXfermode_Bit) { |
- dst->setXfermode(src.getXfermode()); |
+ dst->setXfermode(sk_ref_sp(src.getXfermode())); |
} |
// we don't override these |