| Index: ui/gl/gl_image_memory.cc
|
| diff --git a/ui/gl/gl_image_memory.cc b/ui/gl/gl_image_memory.cc
|
| index 2ced365c53a586419e523265b47202cb74f66067..ad1e6b944b645179923b5a6b93a79525ceb0c783 100644
|
| --- a/ui/gl/gl_image_memory.cc
|
| +++ b/ui/gl/gl_image_memory.cc
|
| @@ -258,8 +258,8 @@
|
|
|
| DCHECK(memory);
|
| DCHECK(!memory_);
|
| - DCHECK(!IsCompressedFormat(format) || size_.width() % 4 == 0);
|
| - DCHECK(!IsCompressedFormat(format) || size_.height() % 4 == 0);
|
| + DCHECK_IMPLIES(IsCompressedFormat(format), size_.width() % 4 == 0);
|
| + DCHECK_IMPLIES(IsCompressedFormat(format), size_.height() % 4 == 0);
|
| memory_ = memory;
|
| format_ = format;
|
| return true;
|
|
|