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

Unified Diff: third_party/WebKit/Source/web/mac/WebSubstringUtil.mm

Issue 1839643009: RELEASE_ASSERT -> CHECK and ASSERT -> DCHECK in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Return DCHECK_IS_ON checks. Created 4 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/web/mac/WebSubstringUtil.mm
diff --git a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
index af5d327ed750bfadeb9c9591b48365fca8665f00..26f6185fed011efbf3504af0f245d53ba21527b0 100644
--- a/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
+++ b/third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
@@ -72,7 +72,7 @@ static NSAttributedString* attributedSubstringFromRange(const EphemeralRange& ra
Node* container = it.currentContainer();
LayoutObject* layoutObject = container->layoutObject();
- ASSERT(layoutObject);
+ DCHECK(layoutObject);
if (!layoutObject)
continue;

Powered by Google App Engine
This is Rietveld 408576698