| Index: ui/gl/gl_image_memory.cc
|
| diff --git a/ui/gl/gl_image_memory.cc b/ui/gl/gl_image_memory.cc
|
| index 5ccb9d160f8c7d124a4e58e631b1ff9811778243..31f4cd99e4be910edc13bbf1de5999ec80edef4b 100644
|
| --- a/ui/gl/gl_image_memory.cc
|
| +++ b/ui/gl/gl_image_memory.cc
|
| @@ -226,8 +226,8 @@ bool GLImageMemory::Initialize(const unsigned char* memory,
|
|
|
| DCHECK(memory);
|
| DCHECK(!memory_);
|
| - DCHECK_IMPLIES(IsCompressedFormat(format), size_.width() % 4 == 0);
|
| - DCHECK_IMPLIES(IsCompressedFormat(format), size_.height() % 4 == 0);
|
| + DCHECK(!IsCompressedFormat(format) || size_.width() % 4 == 0);
|
| + DCHECK(!IsCompressedFormat(format) || size_.height() % 4 == 0);
|
| memory_ = memory;
|
| format_ = format;
|
| return true;
|
|
|