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/layout/ViewFragmentationContext.cpp

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Split some DCHECKs and add DCHECK_ops wherever possible Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/TextRunConstructor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/TextRunConstructor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698