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

Unified Diff: third_party/WebKit/Source/platform/image-encoders/PNGImageEncoder.h

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase 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/image-encoders/PNGImageEncoder.h
diff --git a/third_party/WebKit/Source/platform/image-encoders/PNGImageEncoder.h b/third_party/WebKit/Source/platform/image-encoders/PNGImageEncoder.h
index 5947b64f7a39896b2fc6181d7ff97c6faea7af7a..67ae596c7661b5fe1854420314009fec8abfec90 100644
--- a/third_party/WebKit/Source/platform/image-encoders/PNGImageEncoder.h
+++ b/third_party/WebKit/Source/platform/image-encoders/PNGImageEncoder.h
@@ -53,11 +53,11 @@ class PLATFORM_EXPORT PNGImageEncoderState final {
Vector<unsigned char>* output);
~PNGImageEncoderState();
png_struct* Png() {
- ASSERT(png_);
+ DCHECK(png_);
return png_;
}
png_info* Info() {
- ASSERT(info_);
+ DCHECK(info_);
return info_;
}
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.cpp ('k') | third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698