aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/effects/SkLumaColorFilter.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 /include/effects/SkLumaColorFilter.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 'include/effects/SkLumaColorFilter.h')
-rw-r--r--include/effects/SkLumaColorFilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/effects/SkLumaColorFilter.h b/include/effects/SkLumaColorFilter.h
index cab675e5bc..94bf51da2d 100644
--- a/include/effects/SkLumaColorFilter.h
+++ b/include/effects/SkLumaColorFilter.h
@@ -43,7 +43,7 @@ protected:
private:
SkLumaColorFilter();
- bool onAppendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*,
+ void onAppendStages(SkRasterPipeline*, SkColorSpace*, SkArenaAlloc*,
bool shaderIsOpaque) const override;
typedef SkColorFilter INHERITED;