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

Unified Diff: third_party/WebKit/Source/core/layout/api/LayoutBoxModel.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/LayoutBoxModel.h
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h b/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h
index 1b68769bc8f65bc2d87dc59d3306dc1a953265d9..6b6e34dd95c28d83db98953a1dc81d6903bc5f1b 100644
--- a/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h
+++ b/third_party/WebKit/Source/core/layout/api/LayoutBoxModel.h
@@ -18,7 +18,7 @@ class LayoutBoxModel : public LayoutItem {
: LayoutItem(layoutBox) {}
explicit LayoutBoxModel(const LayoutItem& item) : LayoutItem(item) {
- ASSERT_WITH_SECURITY_IMPLICATION(!item || item.isBoxModelObject());
+ SECURITY_DCHECK(!item || item.isBoxModelObject());
}
explicit LayoutBoxModel(std::nullptr_t) : LayoutItem(nullptr) {}

Powered by Google App Engine
This is Rietveld 408576698