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

Unified Diff: third_party/WebKit/Source/core/css/MediaValuesDynamic.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/MediaValuesDynamic.cpp
diff --git a/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp b/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
index 57eef496764837aa86f810010bf70493820bc145..86129c295e55db211fbd91342a8d0cf6d52490cc 100644
--- a/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
+++ b/third_party/WebKit/Source/core/css/MediaValuesDynamic.cpp
@@ -30,7 +30,7 @@ MediaValuesDynamic::MediaValuesDynamic(LocalFrame* frame)
m_viewportDimensionsOverridden(false),
m_viewportWidthOverride(0),
m_viewportHeightOverride(0) {
- ASSERT(m_frame);
+ DCHECK(m_frame);
}
MediaValuesDynamic::MediaValuesDynamic(LocalFrame* frame,
@@ -41,7 +41,7 @@ MediaValuesDynamic::MediaValuesDynamic(LocalFrame* frame,
m_viewportDimensionsOverridden(overriddenViewportDimensions),
m_viewportWidthOverride(viewportWidth),
m_viewportHeightOverride(viewportHeight) {
- ASSERT(m_frame);
+ DCHECK(m_frame);
}
MediaValues* MediaValuesDynamic::copy() const {
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaValuesCached.cpp ('k') | third_party/WebKit/Source/core/css/PageRuleCollector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698