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

Unified Diff: third_party/WebKit/Source/platform/graphics/Image.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/Image.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp
index d36dfd347536693e3ec6f22f4bc07a0ebfa5b336..32d357340bf700d9b94decff3038be191b39a359 100644
--- a/third_party/WebKit/Source/platform/graphics/Image.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Image.cpp
@@ -56,7 +56,7 @@ Image::Image(ImageObserver* observer)
Image::~Image() {}
Image* Image::nullImage() {
- ASSERT(isMainThread());
+ DCHECK(isMainThread());
DEFINE_STATIC_REF(Image, nullImage, (BitmapImage::create()));
return nullImage;
}

Powered by Google App Engine
This is Rietveld 408576698