aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/shaders
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-10-23 09:04:44 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-23 15:27:09 +0000
commite25d119709899d3cb101a6de5fc901baf04d46db (patch)
tree59f1a9a872d24e37592fb5ab2cdd8777c9bc3941 /src/shaders
parente4498fd4bd90192e50f0b8db5a463b3cd17fe815 (diff)
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>
Diffstat (limited to 'src/shaders')
-rw-r--r--src/shaders/SkPictureShader.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shaders/SkPictureShader.cpp b/src/shaders/SkPictureShader.cpp
index 00985a71d4..1a86af6d6e 100644
--- a/src/shaders/SkPictureShader.cpp
+++ b/src/shaders/SkPictureShader.cpp
@@ -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();
}