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 <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2017-10-12 14:59:18 -04:00 committed by Skia Commit-Bot
parent 5bd9f2c19e
commit 9b64f97776

View File

@ -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 {