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

Unified Diff: third_party/WebKit/Source/core/editing/EditingUtilities.cpp

Issue 2082503003: ASSERT -> DCHECK conversions in core/editing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/editing/EditingUtilities.cpp
diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
index 44471ebf1ec3fa36465c0532bcf1862f68fc6e7f..06aaa453dd6da77b4e21bf6ee1706d60941ce1b8 100644
--- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
+++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
@@ -175,7 +175,7 @@ static int comparePositions(Node* containerA, int offsetA, Node* containerB, int
}
// Should never reach this point.
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
@@ -1320,7 +1320,7 @@ HTMLElement* createDefaultParagraphElement(Document& document)
return HTMLParagraphElement::create(document);
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return nullptr;
}
« no previous file with comments | « third_party/WebKit/Source/core/editing/EditingStyle.cpp ('k') | third_party/WebKit/Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698