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

Unified Diff: third_party/WebKit/Source/core/layout/api/LineLayoutSVGInlineText.h

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/layout/api/LineLayoutSVGInlineText.h
diff --git a/third_party/WebKit/Source/core/layout/api/LineLayoutSVGInlineText.h b/third_party/WebKit/Source/core/layout/api/LineLayoutSVGInlineText.h
index ce3c7f9f1274e1ea8065135bc0d892a1b7cefcbd..483575d0debcd4f27bdca79890de77a0a67f2e11 100644
--- a/third_party/WebKit/Source/core/layout/api/LineLayoutSVGInlineText.h
+++ b/third_party/WebKit/Source/core/layout/api/LineLayoutSVGInlineText.h
@@ -17,7 +17,7 @@ class LineLayoutSVGInlineText : public LineLayoutText {
explicit LineLayoutSVGInlineText(const LineLayoutItem& item)
: LineLayoutText(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isSVGInlineText());
+ SECURITY_DCHECK(!item || item.isSVGInlineText());
}
explicit LineLayoutSVGInlineText(std::nullptr_t) : LineLayoutText(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698