Remove dead SK_SUPPORT_LEGACY_PICTURESHADER_ROUNDING code

This flag is no longer used.

Change-Id: I239e756f7945f0848d12409f0eb8d3077651a4cf
Reviewed-on: https://skia-review.googlesource.com/62740
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
This commit is contained in:
Florin Malita 2017-10-23 09:04:44 -04:00 committed by Skia Commit-Bot
parent e4498fd4bd
commit e25d119709

View File

@ -233,11 +233,7 @@ sk_sp<SkShader> SkPictureShader::refBitmapShader(const SkMatrix& viewMatrix, con
}
#endif
#ifdef SK_SUPPORT_LEGACY_PICTURESHADER_ROUNDING
const SkISize tileSize = scaledSize.toRound();
#else
const SkISize tileSize = scaledSize.toCeil();
#endif
if (tileSize.isEmpty()) {
return SkShader::MakeEmptyShader();
}