commit | 374772bd61951f01bf84fe17bf53d8867681c9ae | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Wed Oct 05 17:33:02 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Oct 05 17:33:03 2016 -0700 |
tree | ade94be090be12f7503fd35e77c4dae2dc1f0a47 | |
parent | 61c21cdcc31081a1bd4a3a7480b482d135f7df33 [diff] [blame] |
Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" This reverts commit c245574ba3d0e2ade6c94b2812de3baa383bf4c4. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2396953002 TBR= Review-Url: https://codereview.chromium.org/2396953002
diff --git a/src/gpu/GrTextureToYUVPlanes.cpp b/src/gpu/GrTextureToYUVPlanes.cpp index 5e7dafe..93a62d2 100644 --- a/src/gpu/GrTextureToYUVPlanes.cpp +++ b/src/gpu/GrTextureToYUVPlanes.cpp
@@ -41,7 +41,7 @@ return false; } GrPaint paint; - paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); + paint.setPorterDuffXPFactory(SkBlendMode::kSrc); paint.addColorFragmentProcessor(std::move(fp)); dst->drawRect(GrNoClip(), paint, SkMatrix::I(), SkRect::MakeIWH(dstW, dstH)); return true;