From 0bed5bb8bee67e526047897a161bb703e2ffc694 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 12 Sep 2016 06:31:05 -0700 Subject: fix code behind SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2337433002 TBR= NOTREECHECKS=True NOTRY=True Review-Url: https://codereview.chromium.org/2337433002 --- src/core/SkPaint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp index 42b1a532de..9d76a169b3 100644 --- a/src/core/SkPaint.cpp +++ b/src/core/SkPaint.cpp @@ -398,7 +398,7 @@ SET_PTR(MaskFilter) #ifdef SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR SkDrawLooper* SkPaint::setLooper(SkDrawLooper* looper) { - fLooper.reset(SkSafeRef(looper)); + fDrawLooper.reset(SkSafeRef(looper)); return looper; } #endif -- cgit v1.2.3