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:
parent
e4498fd4bd
commit
e25d119709
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user