| Index: src/image/SkImage_Gpu.cpp
|
| diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp
|
| index 7eb728f55da8b3d524d1b6039f278fcb9379b554..55fb47a75dd233ceae2d1cb75a63b05100876d82 100644
|
| --- a/src/image/SkImage_Gpu.cpp
|
| +++ b/src/image/SkImage_Gpu.cpp
|
| @@ -625,11 +625,11 @@ size_t SkImage::getDeferredTextureImageData(const GrContextThreadSafeProxy& prox
|
| mipmaps->getLevel(generatedMipLevelIndex, &mipLevel);
|
|
|
| // Make sure the mipmap data is after the start of the buffer
|
| - SkASSERT_RELEASE(mipLevelPtr > bufferAsInt);
|
| + SkASSERT(mipLevelPtr > bufferAsInt);
|
| // Make sure the mipmap data starts before the end of the buffer
|
| - SkASSERT_RELEASE(static_cast<size_t>(mipLevelPtr) < bufferAsInt + pixelOffset + pixelSize);
|
| + SkASSERT(static_cast<size_t>(mipLevelPtr) < bufferAsInt + pixelOffset + pixelSize);
|
| // Make sure the mipmap data ends before the end of the buffer
|
| - SkASSERT_RELEASE(mipLevelPtr + mipLevel.fPixmap.getSafeSize() <=
|
| + SkASSERT(mipLevelPtr + mipLevel.fPixmap.getSafeSize() <=
|
| bufferAsInt + pixelOffset + pixelSize);
|
|
|
| // getSafeSize includes rowbyte padding except for the last row,
|
|
|