Index: third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
diff --git a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
index 8da21d7eabf909071f1398eb4a5319750be01b0b..dccc76077919cd1be8c55658d8e39bac865b2666 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
+++ b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
@@ -455,7 +455,7 @@ void BaseRenderingContext2D::compositedDraw( |
c->restoreToCount(saveCount); |
} |
- compositePaint.setImageFilter(filter); |
+ compositePaint.setImageFilter(sk_ref_sp(filter)); |
Stephen White
2016/11/01 21:11:48
Rather than doing an explicit ref here, I think we
|
c->saveLayer(nullptr, &compositePaint); |
SkPaint foregroundPaint = |
*state().getPaint(paintType, DrawForegroundOnly, imageType); |