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

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: 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/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 b9399d81a28df8302ff5d11f70ee90db2c3a9553..2323458241063414f60b1f759d9d33ae4669fc8b 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 alpha_type,
SkColorType color_type) {
- ASSERT(alpha_type != kUnknown_SkAlphaType);
+ DCHECK_NE(alpha_type, kUnknown_SkAlphaType);
if (info.colorType() != color_type)
return false;

Powered by Google App Engine
This is Rietveld 408576698