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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutLIItem.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/LayoutLIItem.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutLIItem.h b/third_party/WebKit/Source/core/layout/api/LayoutLIItem.h
index cf3fd6e33c0418cb56559f6f0de11eab59ca7e72..493770c927ca284041132ca2f03f12c3ca8d711a 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutLIItem.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutLIItem.h
@@ -16,7 +16,7 @@ class LayoutLIItem : public LayoutBoxItem {
: LayoutBoxItem(layoutListItem) {}
explicit LayoutLIItem(const LayoutItem& item) : LayoutBoxItem(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isListItem());
+ SECURITY_DCHECK(!item || item.isListItem());
}
explicit LayoutLIItem(std::nullptr_t) : LayoutBoxItem(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698