commit | cfb6bdf767796c950f89985445738d2d8e7f12b0 | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Tue Mar 29 11:32:50 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Mar 29 11:32:50 2016 -0700 |
tree | 5b412fe9d767eef852f55316a99eb9776751ccaf | |
parent | 3ebd2760dd34da6f5af23e9c7cb1b6a61e9cea9d [diff] [blame] |
switch xfermodes over to sk_sp waiting on https://codereview.chromium.org/1835163002/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1832223002 Review URL: https://codereview.chromium.org/1832223002
diff --git a/src/core/SkBitmapProcShader.cpp b/src/core/SkBitmapProcShader.cpp index 0a3c0ea..14114c0 100644 --- a/src/core/SkBitmapProcShader.cpp +++ b/src/core/SkBitmapProcShader.cpp
@@ -132,7 +132,7 @@ // To implement the old shadeSpan entry-point, we need to efficiently convert our native // floats into SkPMColor. The SkXfermode::D32Procs do exactly that. // - sk_sp<SkXfermode> xfer(SkXfermode::Create(SkXfermode::kSrc_Mode)); + sk_sp<SkXfermode> xfer(SkXfermode::Make(SkXfermode::kSrc_Mode)); fXferProc = SkXfermode::GetD32Proc(xfer.get(), 0); }