aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkColorMatrixFilterRowMajor255.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-05-09 14:57:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-09 20:04:44 +0000
commitfdf31035a9639c2d377bdf2ddb404d269f8ca42a (patch)
tree1243f154d371f25971833443e24c2136728c3340 /src/core/SkColorMatrixFilterRowMajor255.h
parentb8fbab2a1c79764e490e65ebc80288cdc0494237 (diff)
void SkColorFilter::onAppendStages(...)
SkColorFilter::onAppendStages() can't actually fail today. Let's enforce that. This means the fallback is now used only for color filters that have not implemented onAppendStages(). Change-Id: Ica3939685694f6186727766b54914b9ba05ca68c Reviewed-on: https://skia-review.googlesource.com/16231 Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkColorMatrixFilterRowMajor255.h')
-rw-r--r--src/core/SkColorMatrixFilterRowMajor255.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkColorMatrixFilterRowMajor255.h b/src/core/SkColorMatrixFilterRowMajor255.h
index 5c2d616ba0..57201f041c 100644
--- a/src/core/SkColorMatrixFilterRowMajor255.h
+++ b/src/core/SkColorMatrixFilterRowMajor255.h
@@ -36,7 +36,7 @@ protected:
void flatten(SkWriteBuffer&) const override;
private:
- bool onAppendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*,
+ void onAppendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*,
bool shaderIsOpaque) const override;
SkScalar fMatrix[20];