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

Unified Diff: third_party/WebKit/Source/core/style/FillLayer.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
« no previous file with comments | « third_party/WebKit/Source/core/style/DataRef.h ('k') | third_party/WebKit/Source/core/style/GridArea.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/FillLayer.h
diff --git a/third_party/WebKit/Source/core/style/FillLayer.h b/third_party/WebKit/Source/core/style/FillLayer.h
index df4b24b9a11ac52b6871abeefcc5f7f12dd078b6..ccf00a9e823637ada4337de730e597a018b9c1d9 100644
--- a/third_party/WebKit/Source/core/style/FillLayer.h
+++ b/third_party/WebKit/Source/core/style/FillLayer.h
@@ -140,17 +140,17 @@ class CORE_EXPORT FillLayer {
m_backgroundYOriginSet = true;
}
void setAttachment(EFillAttachment attachment) {
- ASSERT(!m_cachedPropertiesComputed);
+ DCHECK(!m_cachedPropertiesComputed);
m_attachment = attachment;
m_attachmentSet = true;
}
void setClip(EFillBox b) {
- ASSERT(!m_cachedPropertiesComputed);
+ DCHECK(!m_cachedPropertiesComputed);
m_clip = b;
m_clipSet = true;
}
void setOrigin(EFillBox b) {
- ASSERT(!m_cachedPropertiesComputed);
+ DCHECK(!m_cachedPropertiesComputed);
m_origin = b;
m_originSet = true;
}
« no previous file with comments | « third_party/WebKit/Source/core/style/DataRef.h ('k') | third_party/WebKit/Source/core/style/GridArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698