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

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

Issue 2401523002: Replace ASSERT family with DCHECK and so on in core/dom/. (Closed)
Patch Set: Created 4 years, 2 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/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/IconURL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 3651e0f9360dbcf1107fd9c0d3151151bab1068e..22e56552c7ee793c7d0def3c681387e2da49eb3c 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -2484,7 +2484,7 @@ void Element::removeAttributeInternal(
SynchronizationOfLazyAttribute inSynchronizationOfLazyAttribute) {
MutableAttributeCollection attributes =
ensureUniqueElementData().attributes();
- ASSERT_WITH_SECURITY_IMPLICATION(index < attributes.size());
+ SECURITY_DCHECK(index < attributes.size());
QualifiedName name = attributes[index].name();
AtomicString valueBeingRemoved = attributes[index].value();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.h ('k') | third_party/WebKit/Source/core/dom/IconURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698