From 9b64f97776dbc027272fab354c2ff799b3c5ff58 Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Thu, 12 Oct 2017 14:59:18 -0400 Subject: [PATCH] remove dead flag no client still defines this Bug: skia: Change-Id: If55dade4207108241bbb1e3d6f7515ad12d36acc Reviewed-on: https://skia-review.googlesource.com/59083 Reviewed-by: Mike Reed Commit-Queue: Mike Reed --- include/core/SkImageInfo.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h index e14846fa37..c2880909fc 100644 --- a/include/core/SkImageInfo.h +++ b/include/core/SkImageInfo.h @@ -341,11 +341,7 @@ public: // Returns true if the result of computeByteSize (or computeMinByteSize) overflowed static bool ByteSizeOverflowed(size_t byteSize) { -#ifdef SK_SUPPORT_LEGACY_COMPUTEBYTESIZE_RET_0 - return 0 == byteSize; -#else return SK_MaxSizeT == byteSize; -#endif } bool validRowBytes(size_t rowBytes) const {