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

Unified Diff: third_party/WebKit/Source/core/style/ShapeValue.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/ShapeValue.h
diff --git a/third_party/WebKit/Source/core/style/ShapeValue.h b/third_party/WebKit/Source/core/style/ShapeValue.h
index 9dc281e9e06b0430260fe0b306e718a92ab60803..94ada72c7f74190044683385928614a7917decfd 100644
--- a/third_party/WebKit/Source/core/style/ShapeValue.h
+++ b/third_party/WebKit/Source/core/style/ShapeValue.h
@@ -73,7 +73,7 @@ class ShapeValue final : public GarbageCollectedFinalized<ShapeValue> {
return image()->isGeneratedImage();
}
void setImage(StyleImage* image) {
- ASSERT(type() == Image);
+ DCHECK_EQ(type(), Image);
if (m_image != image)
m_image = image;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ShadowList.h ('k') | third_party/WebKit/Source/core/style/StyleDifference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698