diff options
Diffstat (limited to 'gm')
-rw-r--r-- | gm/coloremoji.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/coloremoji.cpp b/gm/coloremoji.cpp index 9782dd82a0..cc794f005e 100644 --- a/gm/coloremoji.cpp +++ b/gm/coloremoji.cpp @@ -100,7 +100,7 @@ protected: SkPaint shaderPaint; shaderPaint.setTypeface(fTypeface); if (SkToBool(i)) { - shaderPaint.setShader(MakeLinear()); + shaderPaint.setShader(MakeLinear())->unref(); } if (SkToBool(j) && SkToBool(k)) { |