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

Unified Diff: third_party/WebKit/Source/core/css/CSSPaintImageGenerator.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: Worked on Review Comments done Created 3 years, 9 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/core/css/CSSPaintImageGenerator.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.cpp b/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.cpp
index cab9792a612da0d4738d8de18b2452e24780ebc5..4fb80a738d0f6742bf01f6469cff3be479d6d30e 100644
--- a/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.cpp
+++ b/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.cpp
@@ -16,7 +16,7 @@ CSSPaintImageGenerator::CSSPaintImageGeneratorCreateFunction s_createFunction =
// static
void CSSPaintImageGenerator::init(
CSSPaintImageGeneratorCreateFunction createFunction) {
- ASSERT(!s_createFunction);
+ DCHECK(!s_createFunction);
s_createFunction = createFunction;
}
@@ -24,7 +24,7 @@ void CSSPaintImageGenerator::init(
CSSPaintImageGenerator* CSSPaintImageGenerator::create(const String& name,
Document& document,
Observer* observer) {
- ASSERT(s_createFunction);
+ DCHECK(s_createFunction);
return s_createFunction(name, document, observer);
}

Powered by Google App Engine
This is Rietveld 408576698