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

Unified Diff: third_party/WebKit/Source/core/layout/ViewFragmentationContext.cpp

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Check if DCHECK is ON in TextAutosizer 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/layout/ViewFragmentationContext.cpp
diff --git a/third_party/WebKit/Source/core/layout/ViewFragmentationContext.cpp b/third_party/WebKit/Source/core/layout/ViewFragmentationContext.cpp
index df0c5e22b8bedd34946d0fe307b6907ac93ef336..5ae95bf23e9f2fc3ceed2cd7b43b23460c575344 100644
--- a/third_party/WebKit/Source/core/layout/ViewFragmentationContext.cpp
+++ b/third_party/WebKit/Source/core/layout/ViewFragmentationContext.cpp
@@ -9,12 +9,12 @@
namespace blink {
bool ViewFragmentationContext::isFragmentainerLogicalHeightKnown() {
- ASSERT(m_view.pageLogicalHeight());
+ DCHECK(m_view.pageLogicalHeight());
return true;
}
LayoutUnit ViewFragmentationContext::fragmentainerLogicalHeightAt(LayoutUnit) {
- ASSERT(m_view.pageLogicalHeight());
+ DCHECK(m_view.pageLogicalHeight());
return m_view.pageLogicalHeight();
}

Powered by Google App Engine
This is Rietveld 408576698