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

Unified Diff: third_party/WebKit/Source/core/dom/DOMImplementation.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 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
Index: third_party/WebKit/Source/core/dom/DOMImplementation.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
index 4275e9dc030234312b2a84c7a69fe89652506aee..cd82533489e4fca2f77587bbc5ebe4d819e27721 100644
--- a/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMImplementation.cpp
@@ -205,7 +205,7 @@ RawPtr<HTMLDocument> DOMImplementation::createHTMLDocument(const String& title)
d->write("<!doctype html><html><head></head><body></body></html>");
if (!title.isNull()) {
HTMLHeadElement* headElement = d->head();
- ASSERT(headElement);
+ DCHECK(headElement);
RawPtr<HTMLTitleElement> titleElement = HTMLTitleElement::create(*d);
headElement->appendChild(titleElement);
titleElement->appendChild(d->createTextNode(title), ASSERT_NO_EXCEPTION);
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMException.cpp ('k') | third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698