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

Unified Diff: third_party/WebKit/Source/core/css/CSSViewportRule.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/CSSViewportRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSViewportRule.cpp b/third_party/WebKit/Source/core/css/CSSViewportRule.cpp
index e1b0e8ef5de91b2cb3bc9178f33f07edf81c8de3..72baa4b230d6a0a91359d1023d7ba4cc89f11a46 100644
--- a/third_party/WebKit/Source/core/css/CSSViewportRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSViewportRule.cpp
@@ -67,7 +67,7 @@ String CSSViewportRule::cssText() const {
}
void CSSViewportRule::reattach(StyleRuleBase* rule) {
- ASSERT(rule);
+ DCHECK(rule);
m_viewportRule = toStyleRuleViewport(rule);
if (m_propertiesCSSOMWrapper)
m_propertiesCSSOMWrapper->reattach(m_viewportRule->mutableProperties());
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValuePair.h ('k') | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698