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

Unified Diff: third_party/WebKit/Source/core/style/ShadowList.h

Issue 2751653003: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ (Closed)
Patch Set: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ 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/style/ShadowList.h
diff --git a/third_party/WebKit/Source/core/style/ShadowList.h b/third_party/WebKit/Source/core/style/ShadowList.h
index 2de31cbb8e491ce6758cfb0d525d16c5157d72e9..abc9897daf5cc7f83f5d6581366f74d3a84c699a 100644
--- a/third_party/WebKit/Source/core/style/ShadowList.h
+++ b/third_party/WebKit/Source/core/style/ShadowList.h
@@ -78,7 +78,7 @@ class ShadowList : public RefCounted<ShadowList> {
private:
ShadowList(ShadowDataVector& shadows) {
// If we have no shadows, we use a null ShadowList
- ASSERT(!shadows.isEmpty());
+ DCHECK(!shadows.isEmpty());
m_shadows.swap(shadows);
m_shadows.shrinkToFit();
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ShadowData.cpp ('k') | third_party/WebKit/Source/core/style/ShapeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698