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 78dea66626650db17f55dd143817340770044d42..f71b454359d6cc4d1c9895d1723a7dd261963228 100644 |
--- a/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp |
@@ -120,7 +120,7 @@ bool DecodingImageGenerator::onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, |
void* planes[3]) { |
// YUV decoding does not currently support progressive decoding. See comment |
// in ImageFrameGenerator.h. |
- ASSERT(m_canYUVDecode && m_allDataReceived); |
+ DCHECK(m_canYUVDecode && m_allDataReceived); |
tkent
2017/04/09 23:17:27
Split this into two DCHECKs.
Hwanseung Lee
2017/04/11 22:24:10
Done.
|
TRACE_EVENT1("blink", "DecodingImageGenerator::getYUV8Planes", "frame index", |
static_cast<int>(m_frameIndex)); |