From e25d119709899d3cb101a6de5fc901baf04d46db Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Mon, 23 Oct 2017 09:04:44 -0400 Subject: 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 Commit-Queue: Florin Malita --- src/shaders/SkPictureShader.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/shaders') 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 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(); } -- cgit v1.2.3