commit | 5933d7d54fb888c23896eb87e7f6ce8f5bcdcda4 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Tue Jul 21 12:28:35 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jul 21 17:09:58 2020 +0000 |
tree | a41d58b8ecceec8c3b6dba08fcba37899ebbd7d3 | |
parent | 1d17e49041f8e2727cc22c8c05d0222aa1495ff8 [diff] [blame] |
Update GrPaint APIs to reflect lack of multiple color processors. Change-Id: Ic7799b3c5f4294cba9ff72f8c11a2ad285ab189f Bug: skia:10217 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/304738 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp index f439030..560c0d2 100644 --- a/src/gpu/GrRenderTargetContext.cpp +++ b/src/gpu/GrRenderTargetContext.cpp
@@ -2119,7 +2119,7 @@ if (!fp) { return false; } - paint.addColorFragmentProcessor(std::move(fp)); + paint.setColorFragmentProcessor(std::move(fp)); this->fillRectToRect( nullptr, std::move(paint), GrAA::kNo, SkMatrix::I(),