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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp

Issue 2862963003: Replace ASSERT with DCHECK in modules/ (Closed)
Patch Set: NOTREACHED instead of DCHECK(false) Created 3 years, 7 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/modules/csspaint/CSSPaintImageGeneratorImpl.cpp
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp
index 57746d373e5551c7657bfb0ad6bbd330f1814ded..66fa48ddb0e420116566fa6a02cbe0b930a24061 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp
@@ -42,10 +42,10 @@ CSSPaintImageGeneratorImpl::CSSPaintImageGeneratorImpl(Observer* observer)
CSSPaintImageGeneratorImpl::~CSSPaintImageGeneratorImpl() {}
void CSSPaintImageGeneratorImpl::SetDefinition(CSSPaintDefinition* definition) {
- ASSERT(!definition_);
+ DCHECK(!definition_);
definition_ = definition;
- ASSERT(observer_);
+ DCHECK(observer_);
observer_->PaintImageGeneratorReady();
}

Powered by Google App Engine
This is Rietveld 408576698