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

Unified Diff: third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. 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/parser/SizesAttributeParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
index 3709e4a2028f44986229e34fc2f2a98a5c3fc5dc..470c6a311e8954e7f5197c9f1a8e690e7130847c 100644
--- a/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/SizesAttributeParser.cpp
@@ -14,7 +14,7 @@ namespace blink {
SizesAttributeParser::SizesAttributeParser(MediaValues* mediaValues,
const String& attribute)
: m_mediaValues(mediaValues), m_length(0), m_lengthWasSet(false) {
- ASSERT(m_mediaValues.get());
+ DCHECK(m_mediaValues.get());
m_isValid = parse(CSSTokenizer(attribute).tokenRange());
}

Powered by Google App Engine
This is Rietveld 408576698