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

Unified Diff: third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics 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/skia/ImagePixelLocker.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp
index 079a3201533fa1303ef712629e738496bd39a09f..67cc5624eb999a114360728643f836cc54367ce2 100644
--- a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp
+++ b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp
@@ -14,7 +14,7 @@ namespace {
bool infoIsCompatible(const SkImageInfo& info,
SkAlphaType alphaType,
SkColorType colorType) {
- ASSERT(alphaType != kUnknown_SkAlphaType);
+ DCHECK_NE(alphaType, kUnknown_SkAlphaType);
if (info.colorType() != colorType)
return false;

Powered by Google App Engine
This is Rietveld 408576698