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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageSetValue.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/CSSImageSetValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp b/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
index 7430add542470715679d9b26a7bf15ee4602e534..c98064dd2b7b878d84a28c30273521ee64662472 100644
--- a/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSImageSetValue.cpp
@@ -93,7 +93,7 @@ bool CSSImageSetValue::isCachePending(float deviceScaleFactor) const {
}
StyleImage* CSSImageSetValue::cachedImage(float deviceScaleFactor) const {
- ASSERT(!isCachePending(deviceScaleFactor));
+ DCHECK(!isCachePending(deviceScaleFactor));
return m_cachedImage.get();
}

Powered by Google App Engine
This is Rietveld 408576698