diff options
-rw-r--r-- | include/core/SkImageInfo.h | 4 |
1 files changed, 0 insertions, 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 { |