remove unused flag for rotated imageshaders

Bug: skia:
Change-Id: I9066ec33a9742f6937cc61ff0afafd13af809222
Reviewed-on: https://skia-review.googlesource.com/36741
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2017-08-21 09:59:31 -04:00 committed by Skia Commit-Bot
parent 7f1d04fdc6
commit 766656d2a9

View File

@ -74,11 +74,9 @@ bool SkImageShader::IsRasterPipelineOnly(const SkMatrix& ctm, SkColorType ct, Sk
return true;
}
#endif
#ifndef SK_SUPPORT_LEGACY_ROTATED_SHADERS
if (!ctm.isScaleTranslate()) {
return true;
}
#endif
return false;
}