aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-10-12 14:59:18 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-12 19:23:16 +0000
commit9b64f97776dbc027272fab354c2ff799b3c5ff58 (patch)
tree4c7999944c05c921e40d5c0ff21e1b5b227208c4 /include
parent5bd9f2c19ea5f2e893ba7aeebef9e3c217f084bb (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageInfo.h4
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 {