clean up check now done in Make()
Change-Id: I773450b057ca7da06c7be4bdfd475d0c070f8558 Reviewed-on: https://skia-review.googlesource.com/26560 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
92376017d9
commit
e4832b287c
@ -21,11 +21,6 @@ void SkToSRGBColorFilter::onAppendStages(SkRasterPipeline* p,
|
||||
SkColorSpace* /*dst color space*/,
|
||||
SkArenaAlloc* alloc,
|
||||
bool shaderIsOpaque) const {
|
||||
if (fSrcColorSpace->isSRGB()) {
|
||||
// That was easy.
|
||||
return;
|
||||
}
|
||||
|
||||
// Step 1: Linearize by undoing the src transfer function.
|
||||
// Linear and sRGB will return true to isNumericalTransferFn(), so we check them first.
|
||||
SkColorSpaceTransferFn srcFn;
|
||||
|
Loading…
Reference in New Issue
Block a user