Index: third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp |
index 8f60425291892f34cd97029e6b84b83b09ffec28..09de72edeaf02f6b7a5c148cac92f20cb4817f5f 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/DeferredImageDecoder.cpp |
@@ -313,8 +313,8 @@ sk_sp<SkImage> DeferredImageDecoder::CreateFrameImageAtIndex( |
size_t index, |
bool known_to_be_opaque) { |
const SkISize& decoded_size = frame_generator_->GetFullSize(); |
- ASSERT(decoded_size.width() > 0); |
- ASSERT(decoded_size.height() > 0); |
+ DCHECK_GT(decoded_size.width(), 0); |
+ DCHECK_GT(decoded_size.height(), 0); |
sk_sp<SkROBuffer> ro_buffer(rw_buffer_->newRBufferSnapshot()); |
RefPtr<SegmentReader> segment_reader = |