Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.cpp

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: fix typo Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_));

Powered by Google App Engine
This is Rietveld 408576698