diff options
Diffstat (limited to 'include/core/SkImageInfo.h')
-rw-r--r-- | include/core/SkImageInfo.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h index cab84b9fe0..50d068a09c 100644 --- a/include/core/SkImageInfo.h +++ b/include/core/SkImageInfo.h @@ -317,19 +317,11 @@ public: } #endif -#ifdef SK_SUPPORT_LEGACY_COMPUTEBYTESIZE_RET_0 /** * Returns the size (in bytes) of the image buffer that this info needs, given the specified * rowBytes. The rowBytes must be >= this->minRowBytes(). * If the calculation overflows, or if the height is 0, this returns 0. */ -#else - /** - * Returns the size (in bytes) of the image buffer that this info needs, given the specified - * rowBytes. The rowBytes must be >= this->minRowBytes(). - * If the calculation overflows this returns SK_MaxSizeT - */ -#endif size_t computeByteSize(size_t rowBytes) const; /** |