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

Unified Diff: third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 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/inspector/DOMPatchSupport.cpp
diff --git a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
index a5a76bfc577259d70ee461285cd84d01b06dd64f..2a4f851c02043d182b2d245b2d9349af514a1a9c 100644
--- a/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
+++ b/third_party/WebKit/Source/core/inspector/DOMPatchSupport.cpp
@@ -77,7 +77,7 @@ void DOMPatchSupport::PatchDocument(const String& markup) {
else if (GetDocument().IsXMLDocument())
new_document = XMLDocument::Create();
- ASSERT(new_document);
+ DCHECK(new_document);
new_document->SetContextFeatures(GetDocument().GetContextFeatures());
if (!GetDocument().IsHTMLDocument()) {
DocumentParser* parser = XMLDocumentParser::Create(*new_document, nullptr);
« no previous file with comments | « third_party/WebKit/Source/core/inspector/DOMEditor.cpp ('k') | third_party/WebKit/Source/core/inspector/DevToolsHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698