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

Unified Diff: third_party/WebKit/Source/core/css/MediaQueryExp.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/MediaQueryExp.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaQueryExp.cpp b/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
index ada04787593ec528568be1cd998181f447844d8d..1421b911b53a53158ee99937d27a0f7535e0103d 100644
--- a/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
+++ b/third_party/WebKit/Source/core/css/MediaQueryExp.cpp
@@ -219,7 +219,7 @@ MediaQueryExp::MediaQueryExp(const String& mediaFeature,
MediaQueryExp* MediaQueryExp::createIfValid(
const String& mediaFeature,
const Vector<CSSParserToken, 4>& tokenList) {
- ASSERT(!mediaFeature.isNull());
+ DCHECK(!mediaFeature.isNull());
MediaQueryExpValue expValue;
String lowerMediaFeature = attemptStaticStringCreation(mediaFeature.lower());

Powered by Google App Engine
This is Rietveld 408576698