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

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.cpp

Issue 2458003002: Remove ASSERT_WITH_SECURITY_IMPLICATION. (Closed)
Patch Set: Minor formatting fix 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
Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
index 0a4e63b74afc014416ac851b5d35c85ba6dfa0c2..851793682737676af7afe23fdbe3aa6d2465da2e 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
@@ -334,7 +334,7 @@ void SVGElement::removedFrom(ContainerNode* rootParent) {
m_elementsWithRelativeLengths.clear();
}
- ASSERT_WITH_SECURITY_IMPLICATION(
+ SECURITY_DCHECK(
!rootParent->isSVGElement() ||
!toSVGElement(rootParent)->m_elementsWithRelativeLengths.contains(this));

Powered by Google App Engine
This is Rietveld 408576698