Index: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp |
index db42c9e42fbad562c22abf726963f7fbac6fcff6..243d341319138b9435bc275c3316d177152f8841 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp |
@@ -120,7 +120,8 @@ bool DecodingImageGenerator::onGetYUV8Planes(const SkYUVSizeInfo& size_info, |
void* planes[3]) { |
// YUV decoding does not currently support progressive decoding. See comment |
// in ImageFrameGenerator.h. |
- ASSERT(can_yuv_decode_ && all_data_received_); |
+ DCHECK(can_yuv_decode_); |
+ DCHECK(all_data_received_); |
TRACE_EVENT1("blink", "DecodingImageGenerator::getYUV8Planes", "frame index", |
static_cast<int>(frame_index_)); |